When Launchpad is logged in with one user and another user tries to log in to the app, an error is displayed for 1-2 seconds. The error message shown is "Login Failed". Additionally, a toast message appears on the UI stating "Something went wrong while login. Please contact administrator".
Expected behavior
The app should allow the new user (User B) to log in without displaying any error messages.
Steps to reproduce the issue
Log in to Launchpad with User A.
Attempt to log in to the app with User B.
Observe the error messages.
Note
Also when user logged in the app and clicks back button of browser, user is logged in again instead of redirecting user to Launchpad. https://jam.dev/c/d8b8fa14-b334-4e6c-8d54-213dd1ebb2b2
Current behavior
When Launchpad is logged in with one user and another user tries to log in to the app, an error is displayed for 1-2 seconds. The error message shown is "Login Failed". Additionally, a toast message appears on the UI stating "Something went wrong while login. Please contact administrator".
Expected behavior
The app should allow the new user (User B) to log in without displaying any error messages.
Steps to reproduce the issue
Log in to Launchpad with User A. Attempt to log in to the app with User B. Observe the error messages.
Additional information
https://jam.dev/c/282f656a-0727-4cbc-95c0-3f094827cfde