-
Type:
Task
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
-
AMRIT Sprint 48, AMRIT Sprint 49
-
FLW Mobile App
-
UAT
Currently, when a user’s account is deactivated from the admin panel or directly in the database, the FLW (Front Line Worker) app does not provide any feedback or messaging to the user. This results in confusion as the user is unable to log in without understanding the reason.
Issue:
No message is shown when a deactivated user attempts to log in, leading to a poor user experience and unnecessary support overhead.
Expected Behavior:
When a user with a deactivated account attempts to log in, a pop-up message should be displayed clearly stating the reason.
The message should advise the user to contact the admin or relevant support person to reactivate the account.
Proposed Message:
“Your account has been deactivated. Please contact your supervisor or administrator to reactivate your account.”
Acceptance Criteria:
When login fails due to account deactivation, the user sees a pop-up with the above message.
The message should be clear and actionable.
The pop-up should prevent further login attempts until the account is reactivated.
Ensure proper logging for backend/debugging purposes.