want that u insert your name and password in a form which a method proofs to authenticates u. made this so far: 1. the form <form action="proof" method=post> name<input type="text" name=name><p> Password<input type="password" name=pwd><p> <input type="submit" value="submit"><input type="reset" value="delete"> </form> 2. the method <dtml-if "acl_users.getUser(REQUEST.form['name']).authenticate(REQUEST.form['pwd'],REQUEST)"> password right <dtml-else> password false </dtml-if> that's it, but doesn't work, after submit zope opens the own acces window,which also doesn't work if I enter my name and password!? Thanks for help
in order to use a form-based login you must use either a user folder that can work with cookies or the CookieCrumbler product to enable a standard user folder to use cookies. jens On Monday, August 13, 2001, at 08:41 , Nils Wiegandt wrote:
want that u insert your name and password in a form which a method proofs to authenticates u.
made this so far: 1. the form
<form action="proof" method=post> name<input type="text" name=name><p> Password<input type="password" name=pwd><p> <input type="submit" value="submit"><input type="reset" value="delete"> </form>
2. the method
<dtml-if "acl_users.getUser(REQUEST.form['name']).authenticate(REQUEST.form['pwd'],REQUEST) ">
password right <dtml-else> password false </dtml-if>
that's it, but doesn't work, after submit zope opens the own acces window,which also doesn't work if I enter my name and password!?
Thanks for help
participants (2)
-
Jens Vagelpohl -
Nils Wiegandt