You just change the return value of getUsername(). Instead of returning the
user's name you return its email address
public function getUsername() {
return $this->email;
}
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
but where i have to that ?
in my entity ?
/**
* @orm:Column(type="string", name="email")
*/
private $username;
thanks
On 31 mar, 15:58, Gareth McCumskey wrote:
> No, just make the username = email
>
> On Thu, Mar 31, 2011 at 5:34 PM, symfonyMan wrote:
>
>
>
> > Hello
>
> > Thanks
No, just make the username = email
On Thu, Mar 31, 2011 at 5:34 PM, symfonyMan wrote:
> Hello
>
> Thanks for your replay
>
> I have to delete email property in user entity ??
>
> there is not other method ??
>
> thanks
>
> On 31 mar, 12:59, Gareth McCumskey wrote:
> > Just make your username an
Hello
Thanks for your replay
I have to delete email property in user entity ??
there is not other method ??
thanks
On 31 mar, 12:59, Gareth McCumskey wrote:
> Just make your username an email address
>
> On Thu, Mar 31, 2011 at 2:26 PM, symfonyMan wrote:
>
>
>
> > Hello,
>
> > I created a