From a4f9821d31a4dbaa1798e3aa20defba311c6fc7c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 22 Jan 2015 14:19:48 +0000 Subject: [PATCH] Added complexify display to opac-passwd page http://bugs.koha-community.org/show_bug.cgi?id=13664 Signed-off-by: Tadeasm Signed-off-by: Tadeasm --- .../opac-tmpl/bootstrap/en/modules/opac-passwd.tt | 36 +++++++++++++++++++--- 1 file changed, 32 insertions(+), 4 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 b855cbf..f62d81e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt @@ -5,7 +5,6 @@ [% INCLUDE 'bodytag.inc' bodyid='opac-passwd' %] [% INCLUDE 'masthead.inc' %] -
[% END # /IF Error_messages %] - [% IF ( OpacPasswordChange ) %] [% IF ( Ask_data ) %]
- [% UNLESS ( ShortPass ) %]
Your password must be at least [% minpasslen %] characters long.
[% END %] + [% UNLESS ( ShortPass ) %] +
+

Your password must be at least [% minpasslen %] characters long.

+

+ It is your responsability to set a strong password, and the below meter will give you an estimate + of your chosen passwords strength.
+ Hint: Passphrases are inherantly stronger than passwords, and + come with the added bonus that they are often substantially easier to remember too. +

+
+
+
+
+ [% END %] @@ -76,4 +87,21 @@ [% INCLUDE 'opac-bottom.inc' %] -[% BLOCK jsinclude %][% END %] +[% BLOCK jsinclude %] +[% INCLUDE 'complexify.inc' %] + +[% END %] -- 2.1.4