From ee2305caf7de2ac1a9dcb89e7b671f51ba93fff1 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. --- .../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.34.1