[Zope] Cookie Crumbler - read Password from login_form

Dieter Maurer dieter at handshake.de
Mon Sep 15 17:54:27 EDT 2003


nicogrubert at arcor.de wrote at 2003-9-15 09:47 +0200:
 > I am using Cookie Crumbler for Authentification in Zope.
 > The standard login_form template provides an input text field for username and password whose fieldnames must correspond to the fieldnames set in the cookie crumbler object.
 > 
 > these fieldnames (e.g. __ac_name, __ac_password) are not found in the REQUEST when submitting the form "login_form" since they are stored in a cookie called "__ac".
 > 
 > my question is: how can I read the password the user entered in the login_form ?

Some questions are easily answered by looking at the source
and its documentation...

Cookie Crumbler deliberately removes "__ac_password" from the request
after it did its purpose.


Dieter



More information about the Zope mailing list