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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Sep 2021 07:18:58 +0000 (09:18 +0200)
commit74ec89abc60bcc6ffc4361150b6f2d63529a4004
tree83b13cedc9c496d3c7ea782304460863d8d6d60a
parent6b5cf0ca8429573d06b5de4582a1a37246e7b200
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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/opac-memberentry.pl