Bug re-opened due to locating a few other locations in my account area
where the password was being saved by browsers like Firefox instead of
requiring users to key in current password to make changes.
This patch covers those two additional cases and changes the quoting
around the first case to be more consistent with the rest of the line.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Simon Mai <hieu.mai@mnsu.edu>
[% END %]
-<form method='POST' id='account-update-email'>
+<form method='POST' id='account-update-email' autocomplete='off'>
[% IF CGI.param("return_to_referer") %]
<input type="hidden" name="redirect_to" value="[% ctx.referer | html %]" />
[% END %]
</div>
[% END %]
-<form method='POST' id='account-update-email' autocomplete="off">
+<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>[% l('New Password') %]</td><td><input type='password' name='new_pw'/></td></tr>
[% END %]
-<form method='POST' id='account-update-email'>
+<form method='POST' id='account-update-email' autocomplete='off'>
<table>
<tr><td>[% l('Current Username') %]</td><td>[% ctx.user.usrname | html %]</td></tr>
<tr><td>[% l('Current Password') %]</td><td><input type='password' name='current_pw'/></td></tr>