[open-ils-commits] [GIT] Evergreen ILS branch master updated. 3d76a89ea012670ed69b3450dbf2440eb1c08d2e

Evergreen Git git at git.evergreen-ils.org
Sun Dec 23 15:04:15 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  3d76a89ea012670ed69b3450dbf2440eb1c08d2e (commit)
      from  70007ca4cb1740049021eaa9301344c3680100ad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3d76a89ea012670ed69b3450dbf2440eb1c08d2e
Author: Ben Shum <bshum at biblio.org>
Date:   Thu Dec 20 14:32:46 2012 -0500

    LP 1088561 - part 2, fix all update forms to not show saved passwords
    
    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 at biblio.org>
    Signed-off-by: Simon Mai <hieu.mai at mnsu.edu>

diff --git a/Open-ILS/src/templates/opac/myopac/update_email.tt2 b/Open-ILS/src/templates/opac/myopac/update_email.tt2
index 6b662bd..ceb1a6b 100644
--- a/Open-ILS/src/templates/opac/myopac/update_email.tt2
+++ b/Open-ILS/src/templates/opac/myopac/update_email.tt2
@@ -17,7 +17,7 @@
 
 [% 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 %]
diff --git a/Open-ILS/src/templates/opac/myopac/update_password.tt2 b/Open-ILS/src/templates/opac/myopac/update_password.tt2
index 0d3d461..7b77fe7 100644
--- a/Open-ILS/src/templates/opac/myopac/update_password.tt2
+++ b/Open-ILS/src/templates/opac/myopac/update_password.tt2
@@ -21,7 +21,7 @@
     </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>
diff --git a/Open-ILS/src/templates/opac/myopac/update_username.tt2 b/Open-ILS/src/templates/opac/myopac/update_username.tt2
index a3a0bd2..546c071 100644
--- a/Open-ILS/src/templates/opac/myopac/update_username.tt2
+++ b/Open-ILS/src/templates/opac/myopac/update_username.tt2
@@ -25,7 +25,7 @@
 
 [% 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>

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/opac/myopac/update_email.tt2     |    2 +-
 .../src/templates/opac/myopac/update_password.tt2  |    2 +-
 .../src/templates/opac/myopac/update_username.tt2  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list