In jspac a message appeared when the patron went to change their
password stating the requirements. This same message is missing
in TPAC. The wording from jspac has been added and styled to
update_reset.tt2.
Also improved is the message when requesting a forgotten password.
Patrons are unaware that a vaild email address needs to be in
their record until after they try to send a reset. Wording and
styling has been added to password_reset.tt2 to explain the need
for an email address.
Signed-off-by: Melissa Lefebvre <mlefebvre@biblio.org>
.record_author {
font-style: italic;
}
+
+.password_message {
+ padding-top: 1em;
+ font-style: italic;
+}
<form method='post' id='account-update-email' autocomplete='off'>
<table>
<tr><td>[% l('Current Password') %]</td><td><input type='password' name='current_pw'/></td></tr>
+ <tr><td colspan='2'><div class="password_message">[% l('Note: The password must be at least 7 characters in length, contain at least one letter (a-z/A-Z), and contain at least one number.') %]</div></td></tr>
<tr><td>[% l('New Password') %]</td><td><input type='password' name='new_pw'/></td></tr>
<tr><td>[% l('New Password Again') %]</td><td><input type='password' name='new_pw2'/></td></tr>
<tr><td colspan='2' align='center'><input value="[% l('Submit') %]" type='submit'/></td></tr>
[% END %]
[% ELSIF !ctx.pwreset.status %]
<h2>[% l('Please enter your user name or barcode to identify your library account and request a password reset') %]</h2>
+ <div class="password_message">[% l('Note: You must have a valid email address associated with your library account. If not, please contact your local library for further assistance.') %]</div>
<form method="post">
<table>
<tr>