From 3d61b95fee91debf8ecf2edf27aebc3f9eab70f1 Mon Sep 17 00:00:00 2001 From: David Roberts <david.roberts@ptfs-europe.com> Date: Thu, 23 Apr 2015 17:19:19 +0000 Subject: [PATCH] Put password meter under syspref control http://bugs.koha-community.org/show_bug.cgi?id=13664 --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt index 9a3ad7e..03f32b5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt @@ -46,13 +46,15 @@ [% UNLESS ( ShortPass ) %] <div class="alert alert-info"> <p>Your password must be at least [% minpasslen %] characters long.</p> + [% IF (OPACPasswordStrength) %] <p> - It is your responsibility to set a strong password, and the meter below will give you an estimate of your chosen passwords strength.</p> - <p> Hint: Passphrases are inherently stronger than passwords, and come with the added bonus that they are often substantially easier to remember too. + It is your responsibility to set a strong password, and the meter below will give you an indication of the strength of your chosen password.</p> + <p> Hint: Passphrases are inherently stronger than passwords, and are often substantially easier to remember. </p> <div class="progress"> <div id="complexity-bar" class="bar bar-danger" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div> </div> + [% END %] </div> [% END %] <label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25" name="Oldkey" /> -- 1.7.10.4