Commit 5712a90c authored by 's avatar

Merged fix to match lengths of default password and confirm marker values

parent a8db4e30
......@@ -84,7 +84,7 @@
##############################################################################
"""Access control package"""
__version__='$Revision: 1.141 $'[11:-2]
__version__='$Revision: 1.142 $'[11:-2]
import Globals, socket, ts_regex, SpecialUsers
import os
......@@ -760,7 +760,7 @@ class BasicUserFolder(Implicit, Persistent, Navigation, Tabs, RoleManager,
def _changeUser(self,name,password,confirm,roles,domains,REQUEST=None):
if password == 'password' and confirm == 'confirm':
if password == 'password' and confirm == 'pconfirm':
# Protocol for editUser.dtml to indicate unchanged password
password = confirm = None
if not name:
......
......@@ -44,7 +44,7 @@ New Password
</div>
</TD>
<TD VALIGN="TOP">
<INPUT TYPE="PASSWORD" NAME="confirm" SIZE="30" value="confirm" />
<INPUT TYPE="PASSWORD" NAME="confirm" SIZE="30" value="pconfirm" />
</TD>
</TR>
</dtml-if>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment