[Mpuls-commits] r5316 - base/trunk/mpulsweb/templates/usersettings

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 12 10:58:57 CEST 2011


Author: torsten
Date: 2011-09-12 10:58:57 +0200 (Mon, 12 Sep 2011)
New Revision: 5316

Modified:
   base/trunk/mpulsweb/templates/usersettings/change_password.mako
Log:
Issue1534: Set autocomplete="off" for forms to reset the userpassword.


Modified: base/trunk/mpulsweb/templates/usersettings/change_password.mako
===================================================================
--- base/trunk/mpulsweb/templates/usersettings/change_password.mako	2011-09-09 17:58:37 UTC (rev 5315)
+++ base/trunk/mpulsweb/templates/usersettings/change_password.mako	2011-09-12 08:58:57 UTC (rev 5316)
@@ -28,7 +28,7 @@
 <div id="waska_form" class="import_box">
 <p class="import_p">${_('The new password must contain of 8 letter at least and must contain 2 non-character at least. ')}</p>
 <div class="import_box_dialog">
-<form action="${h.url_for(controller="usersettings", action="changePasswordAction")}" method="POST">
+<form action="${h.url_for(controller="usersettings", action="changePasswordAction")}" method="POST" autocomplete="off">
 <div>
   % if c.form_errors.get('passwd'):
     <label class="import_label" for="passwd" class="error_font"><strong class="import_number">1. </strong>${_('Enter new password')}:</label>



More information about the Mpuls-commits mailing list