]> git.koha-community.org Git - koha.git/commit
Bug 37691: Improve visibility of password expiration reset link
authorOwen Leonard <oleonard@myacpl.org>
Wed, 21 Aug 2024 10:31:09 +0000 (10:31 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 2 Sep 2024 10:13:46 +0000 (12:13 +0200)
commit8deb7f77951eb909639ecb808cfa930a63d3b56a
tree892eb8fb38e321d7eaf93fb27890dd906d6a8756
parent068d0c43c1e59e8165945fe379568b66b389aee4
Bug 37691: Improve visibility of password expiration reset link

This patch moves the password expiration reset link into the error box
so that it is more prominent.

To test, apply the patch and rebuild the staff interface
CSS:
https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface

Try to log in to the staff interface as a user whose password has
expired. You will probably have to use SQL to update a patron record
directly, e.g.

UPDATE borrowers SET password_expiration_date = '2022-01-01' WHERE borrowernumber = X;

When you submit your login details the page should reload with an error
message: "Error: Your password has expired." Within the red dialog you
should see the "You must reset your password" link.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/css/login.css
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt