Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inaktive users can not use app #313

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

Alona-Kirichenko
Copy link
Collaborator

now it will check if user has status active.
If not then it will show alert with text "Ditt konto är inaktivt. Be din konsultchef att aktivera ditt konto." and log out
Simulator Screenshot - iPhone SE (3rd generation) - 2024-09-05 at 11 35 00

@Saanicc
Copy link
Collaborator

Saanicc commented Sep 5, 2024

If possible I feel like it would be better to do the check before logging in the user.

In other words, when trying to log in and the account is disabled, show the error like we do when the email/password is wrong.

…ctive, it will log out this user and show alert
Saanicc
Saanicc previously approved these changes Sep 9, 2024
@Alona-Kirichenko Alona-Kirichenko merged commit b60f4c2 into main Sep 9, 2024
1 check passed
@Alona-Kirichenko Alona-Kirichenko deleted the inaktive_users_can_not_use_app branch September 9, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants