]> git.koha-community.org Git - koha.git/commit
Bug 27626: Fix self registration if categorycode is hidden and PatronSelfRegistration...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 4 Feb 2021 16:37:26 +0000 (17:37 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 23 Feb 2021 12:12:56 +0000 (13:12 +0100)
commit74ae74d5faec9a4ba4fbf573b4a81b1274402773
tree2e77469593d3cb48f95f2589391800d30f70ae5a
parent57a15eb474b5a8a6a199df1d324c30b7df0544d7
Bug 27626: Fix self registration if categorycode is hidden and PatronSelfRegistrationVerifyByEmail

If categorycode is selected in
PatronSelfRegistrationBorrowerUnwantedField and
PatronSelfRegistrationVerifyByEmail is turned on, the patron self registration
fails with

   [You must provide a patron's category to validate password's strength
   and length] at /usr/share/perl5/Exception/Class/Base.pm line 88

Test plan:
0. Select categorycode in PatronSelfRegistrationBorrowerUnwantedField
   and turn on PatronSelfRegistrationVerifyByEmail
1. Self register a patron
2. Confirm that it works as expected with this patch applied.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/opac-memberentry.pl