chrisweb wrote:
>
>
> If i open my browser and enter www.mysite.dev/admin/ (its a virtualhost on
> my dev server), it opens show the form i have in my login action, the form
> has an hash, but the session is empty, there is no hash in the session, so
> if i click on the login button, the form validation fails.
>
> before, when i was using the controller predispatch, i entered
> www.mysite.dev/admin/ and got redirected to www.mysite.dev/admin/login/
> there was always a hash in the session, and after clicking on login i got
> authentificated and also redirected back to the www.mysite.dev/admin/
> page.
>
> but since i started using the plugin it doesnt work anymore, as i said, if
> i
> open the page www.mysite.dev/admin/ its shows the form, but the session
> has
> no hash, if i reload the page, then the session has a hash and validation
> of
> the form does not fail anymore, the problem only occurs, if i start a
> fresh
> browser session (closed all browser windows / tabs before)
>
> the only difference i see is that before i had the predispatch in each
> controller know its in the plugin that my bootsrap loads.
>
> any idea whats wrong? ;)
>
> Chris
>
>
i found this entry in the bugtracker, its probably the answer i was
searching:
http://framework.zend.com/issues/browse/ZF-5182
--
View this message in context:
http://www.nabble.com/authentification-plugin-fails%2C-because-form-hash-is-not-in-session--tp23685261p23685926.html
Sent from the Zend Framework mailing list archive at Nabble.com.