Bug 28947: Prevent OPAC user to create new users
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 3 Sep 2021 10:01:12 +0000 (12:01 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 15 Sep 2021 14:41:56 +0000 (10:41 -0400)
commite4f441cc147b9edec1909c3c47ed9f90f0b8f6c9
treed49775d8a3a9625f31609a3692ac4c2380117e87
parent5513a5d2ed1e5f4ef907eb119d62829c5aeac45a
Bug 28947: Prevent OPAC user to create new users

This patch prevents an existing user from exploiting the patron edit form in order to
force create new patrons

To test:
Try all combinations of PatronSelfRegistration and PatronSelfRegistrationVerifyByEmail
with and without this patch.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-memberentry.pl