Bugzilla – Attachment 114564 Details for
Bug 27148
Internal Server Error during self registration 20.11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27148: (follow-up) Fix require_strong variable set
Bug-27148-follow-up-Fix-requirestrong-variable-set.patch (text/plain), 1.64 KB, created by
Nick Clemens (kidclamp)
on 2020-12-21 16:11:23 UTC
(
hide
)
Description:
Bug 27148: (follow-up) Fix require_strong variable set
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-12-21 16:11:23 UTC
Size:
1.64 KB
patch
obsolete
>From b5b80736464ddc8fa844977a855810cd16e8cbb4 Mon Sep 17 00:00:00 2001 >From: Agustin Moyano <agustinmoyano@theke.io> >Date: Wed, 9 Dec 2020 15:17:15 -0300 >Subject: [PATCH] Bug 27148: (follow-up) Fix require_strong variable set > >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index d7b3be3987..e7212c4225 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -1238,8 +1238,8 @@ > var default_strong_password = [% defaultCategory.effective_require_strong_password | html %]; > $(document).ready(function() { > var setPwdMessage = function() { >- var require_strong = $('select#borrower_categorycode option:selected').data('pwdStrong')||default_strong_password; >- var min_lenght = $('select#borrower_categorycode option:selected').data('pwdLength')||default_password_length; >+ var require_strong = $('select#borrower_categorycode option:selected').length ? $('select#borrower_categorycode option:selected').data('pwdStrong') : default_strong_password; >+ var min_lenght = $('select#borrower_categorycode option:selected').length ? $('select#borrower_categorycode option:selected').data('pwdLength') : default_password_length; > $('#password_alert').html((require_strong?PWD_STRONG_MSG:PWD_WEAK_MSG).format(min_lenght)); > }; > setPwdMessage(); >-- >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 27148
:
114154
|
114161
|
114235
|
114290
|
114563
| 114564 |
114565