ZF-Commons / ZfcUser

A generic user registration and authentication module for ZF2. Supports Zend\Db and Doctrine2. (Formerly EdpUser)
BSD 3-Clause "New" or "Revised" License
495 stars 343 forks source link

ZfcUser will not authenticate / login a user #43

Closed mtudor closed 12 years ago

mtudor commented 12 years ago

I'm having issues with users being unable to login. My knowledge of ZF2 events is poor, so what I'm about to say may be a red herring, but...

Through a bit of playing around, I'm getting the feeling that the Db Adapter's authenticate method is intended to be called through an "authenticate" event. This is assigned in setDefaultAdapter but subsequently lost and so never gets called. I haven't tracked down why / where it gets lost yet, but the result is that it does not get called and the user is not logged in.

markushausammann commented 12 years ago

I had this problem too. But after doing what I described in issue #41 it works most of the time.

EvanDotPro commented 12 years ago

I believe this has been resolved. Please re-open if this is not the case.