Dave Cinege wrote:
From what I was able to dissect from CMF changing the password is down to a hack. : P userFolderEditUser() doesn't work. You must instead change the '__' attribute of a user object.

Why am I not suprised? ;-)

: O My code below works, except that
credentialsChanged() ends up redirecting to the login page vs, resetting the cookie and allowing the user to continue. Is that expected?

No, don't think so.

def UserEditFunc (self): reqd = dict(self.REQUEST) user = self.acl_users.getUser(reqd['username']) user.__ = reqd['password']

This makes assumptions about the user folder implementation. If you're using anything other than a normal stock userfolder, beware!



Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to