Created attachment 170502 [details] password expiration screen When passwords expire, the GUI for changing it isn't clear enough to staff. 1. Some staff don't see the "You must reset your password" string. 2. Those that do see it, don't realize it's a link. 3. They try to enter a new password in the login form which sends them in a loop back to where they are. I just went through this with 59 libraries. It was a flurry of emails all morning. Reset your password really should be a noticeable button and should take the place of the text fields so that they can't get it wrong. Thank you.
Created attachment 170560 [details] [review] 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 attempt 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_expiry_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
Created attachment 170561 [details] [review] 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 attempt 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
(In reply to Owen Leonard from comment #2) > > 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. Would it possible to reword it as "Reset your password" so that it's clear it's an action item?
Created attachment 170606 [details] [review] 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
Created attachment 170613 [details] [review] 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>
QA'd by RM.
Pushed for 24.11! Well done everyone, thank you!