Bugzilla – Attachment 39328 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.12 KB, created by
tadeas.moravec
on 2015-05-20 09:06:02 UTC
(
hide
)
Description:
Add default OPACPasswordStrength syspref to updatedatabase.pl
Filename:
MIME Type:
Creator:
tadeas.moravec
Created:
2015-05-20 09:06:02 UTC
Size:
1.12 KB
patch
obsolete
>From c32ffb3357ea6af3cc9a5d50da65db43fec6b7b2 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 > >Signed-off-by: Tadeasm <tadeas.moravec@gmail.com> >--- > 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 70579df..977fb0b 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -10462,6 +10462,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) >-- >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 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