]> git.koha-community.org Git - koha.git/commit
Bug 25936: Add option to send password change notices
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 3 Mar 2022 12:03:42 +0000 (12:03 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Oct 2022 17:25:38 +0000 (14:25 -0300)
commit93fdab7dc56a80c59d8ff5e69f9f339af41e9fbb
treeefea14ce1685905a9e211f5795d4146e3f4ff874
parentbf6bbc29a0c84581a59624b070cb5747f195ea43
Bug 25936: Add option to send password change notices

This patch add a new security notice to allow sending notification of
password changes to patrons. If enabled, the 'PASSCHANGE' notice will be
sent to respective patrons whenever their password is updated.

Test plan
1) Run the database updates
2) Enable the new feature by setting 'NotifyPasswordChange' to 'Notify'
3) Change a users password
4) Check that the notice appears in the patrons notices

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm
installer/data/mysql/atomicupdate/bug_25936.pl [new file with mode: 0755]
installer/data/mysql/en/mandatory/sample_notices.yml
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref