summaryrefslogtreecommitdiffstats
path: root/module/obmc/wsgi/examples/websockets
diff options
context:
space:
mode:
authorAlexander Filippov <a.filippov@yadro.com>2018-03-20 12:02:23 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-05-30 18:56:05 +0000
commitd08a4569ad2dbc68ad1f5797dc318ab4555559fb (patch)
tree36cd5f49af00111fddcbd0e27c48f9bc1d56d8fc /module/obmc/wsgi/examples/websockets
parenteace1bcbd2748411c98e2acd21eb3bca803ff283 (diff)
downloadphosphor-rest-server-d08a4569ad2dbc68ad1f5797dc318ab4555559fb.tar.gz
phosphor-rest-server-d08a4569ad2dbc68ad1f5797dc318ab4555559fb.zip
Prevent users from logging in while BMC is not yet ready.
Reject user logins while BMC_READY state has not been reached yet, and report the reason in response. Resolves: openbmc/openbmc#2974 This behavior may be enabled by appending `--with-bmc-check` to command line arguments. When it is enabled it maybe temporary disabled by sending `force` flag with the login request: ``` { "data": [ "username", "password" ], "force": true } ``` Tested: When trying to login in REST receiving response with code 503 while BMC is booting. Change-Id: I04fce09de2b7a3074b5253346a87773641fd57d0 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Diffstat (limited to 'module/obmc/wsgi/examples/websockets')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud