]> git.koha-community.org Git - koha.git/commit
Bug 28943: Lower the risk of accidental patron deletion
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 7 Sep 2021 12:22:05 +0000 (12:22 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 7 Feb 2022 11:54:09 +0000 (06:54 -0500)
commit8e500c57da0e33b517c13715d3a17271fe47c286
treeb26ef3dafaa9135018aff80103bd8be0e2dca935
parent89be96b35d0556c54aece53cf4bc46956138150a
Bug 28943: Lower the risk of accidental patron deletion

If you do not use a temporary self registration patron category,
you should actually make the preference
PatronSelfRegistrationExpireTemporaryAccountsDelay empty.

As the comment in sysprefs.sql already said, we should not let
a zero value in the pref delete patrons too.

The module is changed now, the test adjusted and
the description of both related sysprefs modified.

Test plan:
Run t/db_dependent/Members.t
Check in Administration the two adjusted OPAC pref descriptions.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
t/db_dependent/Members.t