[Zope-Checkins] CVS: Zope2 - User.py:1.101
Evan Simpson
evan@digicool.com
Thu, 23 Mar 2000 11:57:10 -0500
Update of /cvs-repository/Zope2/lib/python/AccessControl
In directory korak.digicool.com:/projects/sites/ZapMedia/ZM-Evolut-Proto/lib/python/AccessControl
Modified Files:
User.py
Log Message:
Modified _doChangeUser to leave password unchanged if the 'password' parameter is None. _changeUser now always accepts "password == confirm == None", and sets 'password' to None if "password == 'password' and confirm == 'confirm'".
This gives Users an unambiguous protocol for both DTML and Python code to change roles/domains without touching the password. editUser.dtml has a somewhat magical protocol, which users need not worry about.