From 18b046598c49ff839be27ec096a3e2e656b597f7 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 1 Mar 2024 07:27:00 +0000 Subject: [PATCH] Bug 34478: (follow-up) Move resend link out of form for display reasons This improves display. This only comes up when you try to reset your password after you did already. Signed-off-by: Jonathan Druart --- .../bootstrap/en/modules/opac-password-recovery.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt index 0352a1693c..f83859599e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt @@ -30,7 +30,7 @@ $("fieldset#" + $(this).val() ).show(); }); $("#resendmail").click(function() { - $("#resendform").get(0).submit(); + $("#resendform").submit(); }); [% IF (new_password) %] $("#mainform").validate({ @@ -97,9 +97,9 @@ [% END %]
You should have received an email with a link to reset your password.
If you did not receive this email, you can request a new one: -
+ Get new password recovery link + [% INCLUDE 'csrf-token.inc' %] - Get new password recovery link -- 2.39.2