-
Type:
Task
-
Resolution: Done
-
Priority:
Medium
-
Affects Version/s: None
-
FLW Sprint 32, FLW Sprint 33, FLW Sprint 34, FLW Sprint 35, FLW Sprint 36, FLW Sprint 37, FLW Sprint 38, FLW Sprint 39, FLW Sprint 40, FLW Sprint 41, FLW Sprint 42
-
FLW Mobile App
-
All
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.