Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0036842mantisbtadministrationpublic2026-01-30 08:34
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version2.29.0Fixed in Version2.29.0 
Summary0036842: Allow clearing the failed login count even if account is not yet locked
Description

As a follow-up on 0036840

TagsNo tags attached.

Relationships

related to 0036840 resolveddregad Clearly identify locked accounts 

Activities

Related Changesets

MantisBT: master 068d00b0

2020-11-21 12:16

dregad


Details Diff
UserResetPasswordCommand: add 'action' parameter

Previsouly, the action (RESET or UNLOCK) was determined based on the
user account's state.

The action is now specified when instantiating the action, and defaults
to RESET; value is stored in a class property.

The constants that were used to return the action performed by the
command, have been renamed to remove the RESULT prefix, since they are
now also used to specify the action parameter.

In manage_user_edit_page.php, use named HTML buttons instead of inputs
to specify the action to execute in manage_user_reset.php.

Issue 0036842
Affected Issues
0036842
mod - core/commands/UserResetPasswordCommand.php Diff File
mod - manage_user_edit_page.php Diff File
mod - manage_user_reset.php Diff File

MantisBT: master 309e94eb

2020-11-21 12:21

dregad


Details Diff
UserResetPasswordCommand: 'clear' action

Clear is equivalent to unlock, but allows for differentiated behavior
when there are failed logins but the acccount is not locked yet.

Issue 0036842
Affected Issues
0036842
mod - core/commands/UserResetPasswordCommand.php Diff File

MantisBT: master b887975f

2020-11-21 12:40

dregad


Details Diff
Distinguish clear failed logins vs account unlock

This allows the admin to reset the failed login count even if the user's
account is not (yet) locked.

Fixes 0036842
Affected Issues
0036842
mod - lang/strings_english.txt Diff File
mod - manage_user_edit_page.php Diff File
mod - manage_user_reset.php Diff File