PUGX / PUGXMultiUserBundle

An extension for FOSUserBundle to handle users of different types. Compatible with Doctrine ORM.
163 stars 96 forks source link

login with email does not work #118

Open Saint-Cyr opened 7 years ago

Saint-Cyr commented 7 years ago

the FOSUserBundle default feature that allow user to login with username or email is working when I configure it as I describe it on my post http://stackoverflow.com/questions/39015597/pugxmultiuserbundle-fosuserbundle-login-with-email via stackoverflow

pjam commented 7 years ago

But if you try to login with username, it works, right? In my app, I allow logging in only with email, there is no username. What I did was override the function setEmail to set the username the same as the entered email, as I saw from several posts regarding logging with email. I didn't look at the code, but I guess it is not prepared to deal with email logins.