[symfony-users] Re: [symfony2]authentication with email

2011-04-01 Thread georg
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

[symfony-users] Re: [symfony2]authentication with email

2011-03-31 Thread symfonyMan
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

Re: [symfony-users] Re: [symfony2]authentication with email

2011-03-31 Thread Gareth McCumskey
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

[symfony-users] Re: [symfony2]authentication with email

2011-03-31 Thread symfonyMan
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