From: Jeff Godin Date: Wed, 19 Aug 2015 17:47:44 +0000 (-0400) Subject: Add weak login password message to TPAC template X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e499c3286472565d742a3d309a32702e44d202e8;p=working%2FEvergreen.git Add weak login password message to TPAC template Add a message (keyed off of URL param set by EGCatLoader) to the update_password template notifying the user why they may have been directed to the change password page at first login. Signed-off-by: Jeff Godin --- diff --git a/Open-ILS/src/templates/opac/myopac/update_password.tt2 b/Open-ILS/src/templates/opac/myopac/update_password.tt2 index d86d8e1cee..3ba4e2626b 100644 --- a/Open-ILS/src/templates/opac/myopac/update_password.tt2 +++ b/Open-ILS/src/templates/opac/myopac/update_password.tt2 @@ -1,6 +1,7 @@ [% PROCESS "opac/parts/header.tt2"; PROCESS "opac/parts/misc_util.tt2"; WRAPPER "opac/parts/myopac/base.tt2"; + cgi = CGI.new(CGI.query_string); myopac_page = "prefs" %]

[% l('Change Password') %]

@@ -26,6 +27,10 @@
[% |l %]Your current password was not correct.[% END %]
+[% ELSIF cgi.param('initial') %] +
+ [% |l %] Your current password may not be strong enough to protect your account. We recommend that you set a new password now. [% END %] +
[% END %]