ral-facilities/scigateway

Failed login attempt opens navigation drawer

Closed this issue · 0 comments

Description:
When the navigation drawer is closed and the user tries to login and fails, the navigation drawer opens. This can be demonstrated on ISIS prod right now:

Failed login

Had a brief look at the code and couldn't immediately spot what was going wrong. The reducer method for an unsuccessful login sets state.drawerOpen to false so this must be happening elsewhere.

Acceptance criteria:

  • Navigation drawer remains untouched after a failed login attempt