RE: [Zope] Cookie Crumbler/Authentication Question
Hi Dieter, Yes, I googled around a bit more and found this method. Works nicely: self.restrictedTraverse(['','login']).credentialsChanged(user,username,req.p assword) Thanks, Tom Palermo -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Wednesday, April 19, 2006 1:44 PM To: Palermo, Tom Cc: 'zope@zope.org' Subject: Re: [Zope] Cookie Crumbler/Authentication Question Palermo, Tom wrote at 2006-4-18 22:29 -0400:
I am working on a site that uses CookieCrumbler for the authentication. Part of this site allows a user to change their password via this line: userfolder.manage_users(submit='Change', REQUEST=user_info).
This works fine except after changing the password, the user is no longer authenticated and an Unauthorized exception is raised. Is there anyway to automatically keep the user logged in or re-authenticate them.
Look at the CookieCrumblers "credentialChanged" method. -- Dieter
participants (1)
-
Palermo, Tom