28 Mar
2005
28 Mar
'05
9:23 p.m.
On Mar 28, 2005, at 21:19, Dave Cinege wrote:
After I installed Cookie Crumbler my external method for a user to change their own password will no longer work. I realize I've got a chicken and egg issue with the cookie needing to be updated at the same time as the change...or something. : P
How do I fix this ?
I've been using code that looks something like this:
def UserEditFunc (self): reqd = dict(self.REQUEST)
self.acl_users.userFolderEditUser(reqd['username'],reqd['password'],'', '')
Take a look at the CookieCrumbler code, there is a method that will update the cookie for you: credentialsChanged(self, user, name, pw) jens