[Zope-Checkins] CVS: Zope2 - User.py:1.133.2.9

Brian Lloyd brian@digiciool.com
Wed, 7 Mar 2001 16:11:02 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/AccessControl
In directory korak:/home/brian/temp/zope-23-branch/lib/python/AccessControl

Modified Files:
      Tag: zope-2_3-branch
	User.py 
Log Message:
Changed default 'confirm' value so that length matches the default 'password'
value - people thought that there was something wrong because the lengths 
didn't match.



--- Updated File User.py in package Zope2 --
--- User.py	2001/03/01 15:19:55	1.133.2.8
+++ User.py	2001/03/07 21:10:32	1.133.2.9
@@ -760,7 +760,7 @@
 
 
     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: