Thanks georg
it work now :)
On 1 avr, 11:27, georg wrote:
> 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
Just following up. Found a nice, simple solution for making this
work, and wanted to pass it on. Thanks to Jon Wage for the help on
this one!
I'm using sfDoctrineGuardPlugin. Also, I've got another table called
sfGuardUserProfile for the profile fields (including email).
In plugins/sfDoctrine
I'm a newby using Symfony 1.2 but I think you are implementing a
validator based on symfony 1.0 if you are sure that this is correct
try by editing the file:
plugins/sfDoctrineGuardPlugin/lib/form/doctrine/base/BasesfGuardFormSignin.class.php
change the following line:
this->validatorSchema->setP
I've written a tutorial for login using email for Symfony 1.2 and
sfGuardPlugin, but it is for Propel. But I think most of it would be
similar for Doctrine.
Go to
http://bluehorn.co.nz/2009/06/12/symfony-12-propel-and-sfguardplugin-email-login/
On Thu, May 7, 2009 at 4:41 AM, Gary Rojas Hilario