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
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 gmccums...@gmail.com wrote:
Just make your username an email address
On Thu, Mar 31, 2011 at 2:26 PM, symfonyMan
No, just make the username = email
On Thu, Mar 31, 2011 at 5:34 PM, symfonyMan ezziani.cha...@gmail.comwrote:
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 gmccums...@gmail.com
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 gmccums...@gmail.com wrote:
No, just make the username = email
On Thu, Mar 31, 2011 at 5:34 PM, symfonyMan