Re: Preventing error message on initial forceLogin
Lukas Smith <[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Organization | BackendMedia GbR |
| Message-ID | <[email protected]> |
Dan Rossi wrote: >> init calls login() and passes the handle along. >> the login method checks if the handle is empty, if yes it checks if >> there is a handle in the cookie, if so it contiunues .. else it >> returns with out error .. >> >> if a handle was passed (or read from the cookie) it then sets the >> error status you saw and tries to authenticate the handle. if that >> success the status is overwritten again. if not the error status stays. >> > > Ok thats untrue, i removed cookies has done the same, its on initial > trying to access a restricted page which i am trying to send to the > login form. so you dont pass any handle to the init() method, but you do use the remember me feature? in that case .. can you open a bug report and give me a var_dump() of the returned $result from the readRememberCookie() method call in the login() method? regards, Lukas Smith [email protected] _______________________________ BackendMedia www.backendmedia.com [email protected] Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07