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

Missing information notice in case of blocked user #228

Open
codinachssm opened this issue Oct 14, 2024 · 1 comment
Open

Missing information notice in case of blocked user #228

codinachssm opened this issue Oct 14, 2024 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@codinachssm
Copy link

codinachssm commented Oct 14, 2024

Is your feature request related to a problem? Please describe.

When a user is locked by the administrator, they are unable to log in, but no message is shown explaining why.

Describe the solution you'd like

A warning message should be displayed to inform the user of the reason they cannot log in.

Describe alternatives you've considered

@codinachssm, could you please provide details of any alternative solutions or features you have considered?

Additional context

@codinachssm, feel free to add any relevant context or screenshots that could help with this feature request.

@codinachssm codinachssm added the invalid This doesn't seem right label Oct 14, 2024
@fjlopez fjlopez added enhancement New feature or request question Further information is requested and removed invalid This doesn't seem right labels Oct 15, 2024
@fjlopez fjlopez transferred this issue from sitmun/sitmun-viewer-app Oct 17, 2024
@fjlopez
Copy link
Contributor

fjlopez commented Oct 17, 2024

The answer from the back should distinguish between the following scenarios

  • The user exists but it is block.
  • The user exists but the password is wrong.
  • The user doesn't exit.

The three answers must have a 401 status but there should be a hint explaining the reason that can be used by the client to render an appropriate message.

Note: Review in a new issue:

  • Expiry date: per user (admin and apps)
  • Expiry date: per territory and role (apps)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants