Skip to content

Fix warning being shown when an account is locked

David Edmundson requested to merge work/account_lock_warning into master

We had all of this wired up correctly in the backend, it just turns out that we overwrite all messages with "Unlocking failed" immediately after setting the string to the info message.

We need to always append as the account warning consists of two lines each as two events. It is reset when the grace timer (3 seconds) expires.

BUG: 428613

(if testing the command "faillock --reset will be useful :D)

Merge request reports

Loading