Bugzilla – Attachment 70242 Details for
Bug 19908
Password should not be mandatory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19908: Password fields in edit/add patron form should respect BorrowerMandatoryField preference
Bug-19908-Password-fields-in-editadd-patron-form-s.patch (text/plain), 2.33 KB, created by
Josef Moravec
on 2018-01-03 11:05:55 UTC
(
hide
)
Description:
Bug 19908: Password fields in edit/add patron form should respect BorrowerMandatoryField preference
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-01-03 11:05:55 UTC
Size:
2.33 KB
patch
obsolete
>From a6b13092bda932a815ec016361760788996e5856 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 3 Jan 2018 10:56:37 +0000 >Subject: [PATCH] Bug 19908: Password fields in edit/add patron form should > respect BorrowerMandatoryField preference > >Test plan: >0) Do not apply the patch, note the password field is always required >1) Apply the patch >2) Try to add and edit patron with and without "password" in BorrowerMandatoryField, it should always respect this setting >3) Use "Change password" button in patron toolbar, the password field >should be never required here - when leaved blank, the password is >unchanged >4) Play with minPasswordLength and RequireStrongPassword preferences, > to ensure they work as expected >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt | 2 -- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 -- > 2 files changed, 4 deletions(-) > >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 a80d89c..572071f 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 >@@ -50,12 +50,10 @@ > $("#changepasswordf").validate({ > rules: { > newpassword: { >- required: true, > password_strong: true, > password_no_spaces: true > }, > newpassword2: { >- required: true, > password_match: true > } > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 468370c..817e660 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -97,12 +97,10 @@ $(document).ready(function() { > $("#entryform").validate({ > rules: { > password: { >- required: true, > password_strong: true, > password_no_spaces: true > }, > password2: { >- required: true, > password_match: true > } > } >-- >2.1.4
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 19908
:
70242
|
71217
|
71970
|
71971
|
72159
|
72188
|
72189
|
72190
|
72503
|
72504