Date: 03/31/00
- Next message: Max A. Derkachev: "Re: [PHPLIB] Question about basic PHPlib logic."
- Previous message: Stephen Neander: "[PHPLIB] Session Hijacking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have been using default authentication (registerform.ihtml) during
development. Something I did yesterday seems to have broken it, and I
don't know what. Now I can't login and I can't register - it just
returns to the registerform.
In auth->start(), is_authenticated always returns false, which forces
the state to 1. nobody=1, mode="reg", so the registerform is presented
again. But when this form is submitted, the state should be 3. Then
with mode="reg", the do_register function would be called.
Did I lose the uid="form" somewhere? My auth.inc appears to be
identical except for debug statements with the 7.2 original. I figure
I must have put a typo in local.inc somewhere or accidentally deleted a
line somewhere.
Any help would be appreciated. As a temporary hack, I changed auth.inc
so state = 3 in line 91:
} else {
# user is not (yet) authenticated
$this->unauth();
$state = 3; // HACK
}
...
This allows one to login and proceed, but you have to log in over and
over again as you go from an unauthenticated to an authenticated page.
--
"Cyber is cyber, life is life."
Gary E Bickford mailto:garyb <email protected>
FXT Corporation http://www.fxt.com/ tel:541-383-2749
mail:PO BOX 1808, SISTERS OR 97759 ship:66265 JERICHO ROAD, BEND OR 97701
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Max A. Derkachev: "Re: [PHPLIB] Question about basic PHPlib logic."
- Previous message: Stephen Neander: "[PHPLIB] Session Hijacking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

