Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Nick Clemens e941dfdc99 Bug 29925: Add a password reset page for expired passwords
This patch adds a new page opac-reset-password where a user cna enter their login
(userid or carndumber), current password, and new password.

If the user has a password expiration date and the current password is correct and
the new passwords match and meet requirements their password will be updated and the
expiration date reset

A patron whose password does not expire will be reidrected to login to change their password

To test:
 1 - Apply patch, updatedatabase, enable new syspref EnableExpiredPasswordReset
 2 - Set 'Password expiration' for a patron category
     Home->Administration->Patron categories->Edit
 3 - Create a new patron in this category with a userid/password set, and an email
 4 - Update the patron with an expiration to be expired
     UPDATE borrowers SET password_expiration='2022-01-01' WHERE borrowernumber=51;
 5 - Give the borrower catalogue permission
 6 - Attempt to log in to Straff interface
 7 - Confirm you are signed out and notified that password must be reset
 8 - Click 'Reset your password' link
 9 - You should see the reset password page with fields for: login, current password, new password, conmfirm password
10 - enter invalid/incomplete credentials
11 - Confirm you are notified of invlaid credentials
12 - Fill in all fields, but enter current password as new password
13 - Confirm you are notified of no change
14 - Set minimum password length / strong password requirement for category
15 - Confirm you receive error if new password too short or not secure
16 - Enter a valid new password and submit and confirm update is successful
17 - Confirm you have buttons to go to OPAC or Staff and that both work
18 - Confirm you cna log in (i.e. expiration has been reset)
19 - Expire the users password
20 - Remove catalogue permission
21 - Reset password again and confirm only OPAC link

Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:09 -10:00
..
preferences Bug 29925: Add a password reset page for expired passwords 2022-05-06 10:33:09 -10:00
searchengine/elasticsearch Bug 30000: Replace the use of jQueryUI tabs on the search engine configuration page 2022-03-24 14:22:09 -10:00
additional-fields.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
admin-home.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00
adveditorshortcuts.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
aqbudgetperiods.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
aqbudgets.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
aqcontract.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
aqplan.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
audio_alerts.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
auth_subfields_structure.tt Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
auth_tag_structure.tt Bug 29052: Make consistent use of spans and div with hint class 2021-10-21 12:24:04 +02:00
authorised_values.tt Bug 29648: Authorised values view 2022-04-27 11:20:43 -10:00
authtypes.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
background_jobs.tt Bug 29346: Add better reporting 2022-05-05 11:17:36 -10:00
biblio_framework.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
branch_transfer_limits.tt Bug 30417: Switch to Bootstrap tabs on the basic library transfer limit page 2022-04-12 11:40:17 +02:00
branches.tt Bug 29648: Libraries administration view - normale 2022-04-27 11:20:44 -10:00
cash_registers.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
categories.tt Bug 29924: Add password expiration feature 2022-05-06 10:33:09 -10:00
checkmarc.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
cities.tt Bug 29648: Cities administration view - REST API 2022-04-27 11:20:44 -10:00
classsources.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00
clone-rules.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
columns_settings.tt Bug 30494: Replace the use of jQueryUI Accordion on the table settings page 2022-05-02 11:22:57 -10:00
credit_types.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
currency.tt Bug 29648: Fix occurrences of GetColumns 2022-04-27 11:20:45 -10:00
debit_types.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
desks.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
didyoumean.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
edi_accounts.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
edi_ean_accounts.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00
item_circulation_alerts.tt Bug 29277: Replace the use of jQueryUI tabs on item circulation alerts page 2022-02-10 14:44:23 -10:00
items_search_field.tt Bug 20689: (follow-up) Make it possible to add capital letter subfields to item search fields 2022-03-01 22:47:46 -10:00
items_search_fields.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00
itemtypes.tt Bug 29648: Item types administration view 2022-04-27 11:20:44 -10:00
koha2marclinks.tt Bug 29529: Fix \n in hint on Koha to MARC mappings 2021-12-01 21:47:18 -10:00
library_groups.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
localization.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
marc-overlay-rules.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
marc_subfields_structure.tt Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
marctagstructure.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
matching-rules.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
oai_set_mappings.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
oai_sets.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
overdrive.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
patron-attr-types.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
preferences.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
share_content.tt Bug 29052: Make consistent use of spans and div with hint class 2021-10-21 12:24:04 +02:00
smart-rules.tt Bug 30346: Correctly transfer values when editing rules 2022-04-20 20:43:15 -10:00
sms_providers.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
smtp_servers.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
sru_modmapping.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
sru_modmapping_auth.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
systempreferences.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
transfer_limits.tt Bug 29513: Convert remaining breadcrumbs div blocks into nav 2021-12-01 21:38:12 -10:00
transport-cost-matrix.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
usage_statistics.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
z3950servers.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00