Altough this article was written using propel, you should check it
out: 
http://bluehorn.co.nz/2009/06/12/symfony-12-propel-and-sfguardplugin-email-login/

On Thu, Dec 3, 2009 at 12:05, David M <dvd...@gmail.com> wrote:
> I would need to change the username field of sfDoctrineGuardPlugin
> into email, because my site will not need usernames, but unique
> emails.
>
> I tried to just change the name and type of the username field, but
> when I rebuild all I get this error:
> Unknown record property / related component "username" on
> "sfGuardUser"
>
> So I suppose I can't change the username field. My workaround would be
> using the username as an email (and also adding an email:true
> validation to the field).
>
> Is this approach correct enough? Is there any cleaner workaround?
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to