Re: [PEAR] auth without password
by Lorenzo Alberton other posts by this author
Feb 29 2004 6:51PM messages near this date
[PEAR] Re: auth without password
|
[PEAR] [ANNOUNCEMENT] HTML_BBCodeParser-1.1 (stable) Released.
On Sun, 29 Feb 2004 19:32:56 +0100, Martino wrote:
> Hi,
> I think the answer is no but does anyone knows if and how it's
> possible to use the Auth package to authenticate without providing
> a password? I just want to be able to look up a name in a list, if
> it's in the ilst is authenticated otherwise not.
>
> Thanks!
> Martino
*very* silly trick (not tested):
set the same password (XXX) for all the users, then put
a hidden input tag with that password in your login form:
<input type="text" name="username"/>
<input type="hidden" name="password" value="XXX"/>
HTH
Lorenzo
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Martino
[php]Walter
Lorenzo Alberton
|