From: Jeff Godin Date: Thu, 29 Nov 2012 21:51:52 +0000 (-0500) Subject: Display "initial" message on update_password X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ede5f22774c16ebb13227228c62c6a902d1b85bb;p=evergreen%2Ftadl.git Display "initial" message on update_password When directing a patron to the update_password page because we detected that they were using a four digit PIN as a password, display a message to that effect. Signed-off-by: Jeff Godin --- diff --git a/templates_tadlskin/opac/myopac/update_password.tt2 b/templates_tadlskin/opac/myopac/update_password.tt2 index ab668c5157..1cdf406b98 100644 --- a/templates_tadlskin/opac/myopac/update_password.tt2 +++ b/templates_tadlskin/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" %]
@@ -19,6 +20,10 @@
[% |l %] Your current password was not correct. [% END %]
+[% ELSIF cgi.param('initial') %] +
+ [% |l %] Looks like your password is still a four digit PIN. We recommend that you set a new password now. [% END %] +
[% END %]