From 0988be4a599209d4b8a72659c39198b060d28e6f Mon Sep 17 00:00:00 2001 From: Jan Kissig Date: Mon, 15 Jul 2024 13:01:39 +0200 Subject: [PATCH] Bug 37324: Self registration complete login form won't login user This patch fixes the self registration complete login form which appears after a complete self registration process. To test: a) open http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronSelfRegistrationDefaultCategory b) set PatronSelfRegistration to allow c) set PatronSelfRegistrationDefaultCategory to Self registration d) logout or open a private tab e) http://localhost:8080/cgi-bin/koha/opac-memberentry.pl and enter required fields f) Registration complete! appears with a prefilled login form. Click Log in. g) Check you are not logged in apply patch and redo steps e-f and check that login worked. Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- .../en/modules/opac-registration-confirmation.tt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt index 3c62811082..6fef58e72a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt @@ -106,19 +106,20 @@
[% INCLUDE 'csrf-token.inc' %] +
Log in to your account: [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] - + [% ELSE %] - + [% END %] [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] - + [% ELSE %] - + [% END %]
-- 2.39.5