Cookie Crumbler/Authentication Question
All, 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. Thanks, Tom Palermo
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 (2)
-
Dieter Maurer -
Palermo, Tom