Page 1 of 1

Locked users

Posted: 23 Sep 2022, 07:12
by Olaf123
Sometimes my dear super smart colleagues lock themselves out of their Mantis accounts. Mantis locks them out before the LDAP server does, so I have to reset their account. Because our network has many weird hiccups, people do not always ask for a reset. Thus I want to check for locked accounts from time to time. Unfortunately, the user management page does not show any information about this. Only if you know a user is locked you can actually select the user and unlock the account. I checked the database but there is no "lock" flag. Just the failed log in count. Now given how Mantis deals with this, any user with a failed login count of more than 0 has probably issues. So I think it would be of great help to have the failed login count available in the user management list. Is there a simple way of doing this or do I/others need to modify the Mantis code.

I appreciate your thoughts on this.
Olaf

Re: Locked users

Posted: 26 Sep 2022, 15:49
by atrol
I implemented display of failed_login_count some while ago, but did not succeed in convincing the MantisBT admin to get it merged.
https://github.com/mantisbt/mantisbt/pull/1632
For the changes see
https://github.com/mantisbt/mantisbt/pull/1632/files

Re: Locked users

Posted: 15 Jun 2024, 14:40
by atrol
Finally my proposed changes where merged and will be released in MantisBT 2.27.0.
https://mantisbt.org/bugs/view.php?id=26797

Re: Locked users

Posted: 15 Jun 2024, 16:58
by cas
sometimes one needs to have a very long breath :D

Re: Locked users

Posted: 15 Jun 2024, 17:12
by atrol
4 years and 3 months. Wasn't that fast? :wink: