[CMF-checkins] CVS: CMF - change_password.py:1.1 change_password.dtml:NONE
andrew@digicool.com
andrew@digicool.com
Thu, 21 Jun 2001 15:48:18 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory korak.digicool.com:/tmp/cvs-serv31719
Added Files:
change_password.py
Removed Files:
change_password.dtml
Log Message:
*change_password.dtml method replaced with change_password.py script
--- Added File change_password.py in package CMF ---
## Script (Python) "change_password"
##title=Action to change password
##parameters=password, confirm, domains=None
failMessage=context.portal_registration.testPasswordValidity(password, confirm)
if failMessage:
return context.password_form(context,
context.REQUEST,
error=failMessage)
context.portal_registration.setPassword(password, domains)
context.portal_membership.credentialsChanged(password)
return context.personalize_form(context,
context.REQUEST,
portal_status_message='Password changed.')
--- Removed file change_password.dtml from package CMF --