Bugzilla – Attachment 90043 Details for
Bug 22974
Patron password update validation broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22974: Patron password update validation broken
Bug-22974-Patron-password-update-validation-broken.patch (text/plain), 1.58 KB, created by
Liz Rea
on 2019-05-23 16:06:51 UTC
(
hide
)
Description:
Bug 22974: Patron password update validation broken
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-05-23 16:06:51 UTC
Size:
1.58 KB
patch
obsolete
>From b4fbfd005875d6c43c20a67066be0a19b34df00d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 23 May 2019 13:29:26 +0000 >Subject: [PATCH] Bug 22974: Patron password update validation broken > >This patch adds back an include file to the change password template >which was inadvertently removed by Bug 21964. This broke Javascript >validation of the new password fields. > >To test, apply the patch and enable the RequireStrongPassword system >preference. > > - Go to Patrons -> Patron details -> Change password. > - Try entering a weak password in the "New password" field. You should > get a validation error: "Password must contain at least 3 characters, > including UPPERCASE, lowercase and numbers." > - Try entering a password in the second password field which doesn't > match the first. You should get a validation error: "Please enter the > same password as above." > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt >index f3a77fe6d7..73b95cafe1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt >@@ -96,6 +96,7 @@ > </div> <!-- /.row --> > > [% MACRO jsinclude BLOCK %] >+ [% INCLUDE 'str/members-menu.inc' %] > [% Asset.js("js/members-menu.js") | $raw %] > <script> > function generate_password() { >-- >2.11.0
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 22974
:
90030
|
90043
|
90080
|
90099