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

Locking out users #7352

Open
pddocs opened this issue Oct 14, 2024 · 3 comments
Open

Locking out users #7352

pddocs opened this issue Oct 14, 2024 · 3 comments

Comments

@pddocs
Copy link

pddocs commented Oct 14, 2024

Currently, when any user successively enters wrong user credentials (username, user password, or wrong 2fa code), the account gets locked as expected. However, they face some roadblocks:

  • On the login page, they only see this error log in page (see image below). They find out they are locked out currently only when they access their inbox and see the Uwazi email notification.
    Screenshot 2024-10-14 at 18 08 41

  • On clicking the link in the email, the user comes back to the login page (see screencast below). If the expectation is to click on Forgot Password, how can it be communicated clearly to the user?

Locked.Account.mov
  • Related to second point, what if the user enters wrong user name with right password? The Forgot Password does not work. In that case, how can the user know that they need to contact an admin user to unlock them from the Settings?

@roirobo

@pddocs pddocs added the Support label Oct 14, 2024
@roirobo
Copy link

roirobo commented Oct 14, 2024

My two cents here:

  • By stating in the error message on the login page that the user has been blocked, this could incur a security risk in a scenario of a potential attack on the instance.
  • Ideally, the Uwazi email notification should include the username.

@RafaPolit
Copy link
Member

The product team will discuss the User Experience process to correctly reflect what should be the right wording, what system should be used to explain the process (the forgot password text could include "unblock user", or the email could mention to follow the forgot password process, etc.

@RafaPolit RafaPolit added the UX label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@roirobo @RafaPolit @pddocs and others