Bugzilla – Attachment 175909 Details for
Bug 38772
Typo 'minPasswordPreference' system preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38772: Typo 'minPasswordPreference' system preference
Bug-38772-Typo-minPasswordPreference-system-prefer.patch (text/plain), 1.45 KB, created by
Roman Dolny
on 2024-12-23 10:17:26 UTC
(
hide
)
Description:
Bug 38772: Typo 'minPasswordPreference' system preference
Filename:
MIME Type:
Creator:
Roman Dolny
Created:
2024-12-23 10:17:26 UTC
Size:
1.45 KB
patch
obsolete
>From 86867fedb1e0122957f26bd32bb3c5eda7808200 Mon Sep 17 00:00:00 2001 >From: Roman Dolny <roman.dolny@jezuici.pl> >Date: Mon, 23 Dec 2024 09:54:56 +0000 >Subject: [PATCH] Bug 38772: Typo 'minPasswordPreference' system preference > >Typo in system preference 'minPasswordPreference' -> 'minPasswordLength' >in opac/opac-password-recovery.pl > >There is no 'minPasswordPreference' system preference in database. >Bug 23816 added the capability to override minPasswordLength. > >Test plan: >========== >1. Check 'minPasswordPreference' appearances: > git grep -i 'minPasswordPreference' **/* >--> Note: only one in opac-password-recovery.pl; no one in sysprefs.sql >2. Apply the patch. >3. Repeat p. 1. Note there is not 'minPasswordPreference' at all. >--- > opac/opac-password-recovery.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-password-recovery.pl b/opac/opac-password-recovery.pl >index 08d1f38262..e66df099d5 100755 >--- a/opac/opac-password-recovery.pl >+++ b/opac/opac-password-recovery.pl >@@ -152,7 +152,7 @@ elsif ( $op eq 'cud-reset_password' ) { > ( $borrower_number, $username ) = GetValidLinkInfo($uniqueKey); > > my $error; >- my $min_password_length = C4::Context->preference('minPasswordPreference'); >+ my $min_password_length = C4::Context->preference('minPasswordLength'); > my $require_strong_password = C4::Context->preference('RequireStrongPassword'); > if ( not $borrower_number ) { > $error = 'errLinkNotValid'; >-- >2.39.5
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 38772
:
175909
|
175920