Bugzilla – Attachment 162630 Details for
Bug 34478
Full CSRF protection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34478: (follow-up) Move resend link out of form for display reasons
Bug-34478-follow-up-Move-resend-link-out-of-form-f.patch (text/plain), 2.19 KB, created by
Marcel de Rooy
on 2024-03-01 07:32:43 UTC
(
hide
)
Description:
Bug 34478: (follow-up) Move resend link out of form for display reasons
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-03-01 07:32:43 UTC
Size:
2.19 KB
patch
obsolete
>From be7b5be6036b282554e517733fa17520b9660086 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 1 Mar 2024 07:27:00 +0000 >Subject: [PATCH] Bug 34478: (follow-up) Move resend link out of form for > display reasons >Content-Type: text/plain; charset=utf-8 > >This improves display. This only comes up when you try to reset your >password after you did already. >--- > .../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 %] > <br/>You should have received an email with a link to reset your password. > <br/>If you did not receive this email, you can request a new one: >- <form style="display:inline-block;" method="post" id="resendform" action="/cgi-bin/koha/opac-password-recovery.pl"> >+ <a href="#" id="resendmail">Get new password recovery link</a> >+ <form method="post" id="resendform" action="/cgi-bin/koha/opac-password-recovery.pl"> > [% INCLUDE 'csrf-token.inc' %] >- <a href="#" id="resendmail">Get new password recovery link</a> > <input type="hidden" name="op" value="cud-resendEmail" /> > <input type="hidden" name="email" value="[% email | url %]" /> > <input type="hidden" name="username" value="[% username | uri %]" /> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34478
:
154241
|
154242
|
154243
|
154244
|
154245
|
154246
|
154247
|
154248
|
154249
|
154250
|
154251
|
154252
|
154253
|
154254
|
155971
|
155972
|
155973
|
155974
|
155975
|
155976
|
155977
|
155978
|
155979
|
155980
|
155981
|
155982
|
155983
|
155984
|
155985
|
155986
|
155987
|
155988
|
155989
|
155990
|
156070
|
156071
|
156072
|
156073
|
156074
|
162114
|
162165
|
162630