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)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Tue, 14 Sep 2021 22:25:31 +0000 (22:25 +0000)
commit03b06780fd33c07d75449db31cd4cdb5a94de9e2
treebe516de17b333dea81f5dbff64eaa872f5e6a33c
parent1a50ee49171442f882241204a588c26d622c044e
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: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
opac/opac-memberentry.pl