Bugzilla – Attachment 39599 Details for
Bug 13664
Add password strength plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add default OPACPasswordStrength syspref to updatedatabase.pl
Add-default-OPACPasswordStrength-syspref-to-update.patch (text/plain), 1.07 KB, created by
David Roberts
on 2015-05-27 16:32:05 UTC
(
hide
)
Description:
Add default OPACPasswordStrength syspref to updatedatabase.pl
Filename:
MIME Type:
Creator:
David Roberts
Created:
2015-05-27 16:32:05 UTC
Size:
1.07 KB
patch
obsolete
>From af59a88eb03eccac9687f18e6ea35585337e9017 Mon Sep 17 00:00:00 2001 >From: David Roberts <david.roberts@ptfs-europe.com> >Date: Thu, 23 Apr 2015 16:19:34 +0000 >Subject: [PATCH] Add default OPACPasswordStrength syspref to > updatedatabase.pl > >http://bugs.koha-community.org/show_bug.cgi?id=13664 >--- > installer/data/mysql/updatedatabase.pl | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 9ee74c1..7d174ee 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -10503,6 +10503,13 @@ foreach my $file ( sort readdir $dirh ) { > } > } > >+$DBversion = "XXX"; >+if ( CheckVersion($DBversion) ) { >+ $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('OPACPasswordStrength','0','','Display password strength indicator on OPAC.','YesNo')"); >+ print "Upgrade to $DBversion done (Bug 13664: Add password strength plugin)\n"; >+ SetVersion ($DBversion); >+} >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >1.7.10.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 13664
:
38855
|
38856
|
38857
|
38858
|
38859
|
38860
|
38861
|
38862
|
38863
|
38864
|
38865
|
38866
|
38867
|
38868
|
38869
|
39322
|
39323
|
39324
|
39325
|
39326
|
39327
|
39328
|
39329
|
39330
|
39331
|
39332
|
39333
|
39334
|
39335
|
39336
|
39337
|
39544
|
39547
|
39548
|
39549
|
39550
|
39551
|
39552
|
39553
|
39554
|
39555
|
39556
|
39557
|
39558
|
39559
|
39560
|
39561
|
39562
|
39594
|
39595
|
39596
|
39597
|
39598
| 39599 |
39600
|
39601
|
39602
|
39603
|
39604
|
39605
|
39606
|
39607
|
39608
|
39609