Hi Dieter,

Yes, I googled around a bit more and found this method. Works nicely:

Tom Palermo 

-----Original Message-----
From: Dieter Maurer [mailto:[EMAIL PROTECTED] 
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.

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to