Bugzilla – Attachment 115226 Details for
Bug 27430
Use minimum length for patron category on password hint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27430: Use password minimum length for patron category on password hint
Bug-27430-Use-password-minimum-length-for-patron-c.patch (text/plain), 1.91 KB, created by
Katrin Fischer
on 2021-01-17 17:04:47 UTC
(
hide
)
Description:
Bug 27430: Use password minimum length for patron category on password hint
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-01-17 17:04:47 UTC
Size:
1.91 KB
patch
obsolete
>From d8222918de24f0f49586ebbad8b09037e564ca35 Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Date: Thu, 14 Jan 2021 14:39:08 +0200 >Subject: [PATCH] Bug 27430: Use password minimum length for patron category on > password hint > >Hint for password minimum length should use minimum length >set for patron category not "minPasswordLength" value. > >To test: >1. Set "minPasswordLength" e.g. 6 >2. Set "Patron" category minimum password length e.g. 4 >3. Create new a patron. >4. Note that hint after password input field reads "Minimum > password length: 6" >5. Apply patch. >6. Hint should now read "Minimum password length: 4". > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 60aecfe116..ed87d1643d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1137,7 +1137,7 @@ legend:hover { > [% IF ( ERROR_password_has_whitespaces ) %] > <span class="required">Password has leading or trailing whitespaces</span> > [% END %] >- <div class="hint">Minimum password length: [% minPasswordLength | html %]</div> >+ <div class="hint">Minimum password length: [% patron.category.effective_min_password_length | html %]</div> > </li> > > <li> >-- >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 27430
:
115154
|
115157
|
115226
|
115233
|
115316
|
115317
|
116105
|
116106
|
116107