The username is not restricted in any way, so you could easily use email
address for username. From the code's perspective, it is just a string.

The login_handler method is actually a part of FriendlyFormPlugin, and can
be seen over here: http://code.gustavonarea.net/repoze.who-friendlyform/

On Thu, May 6, 2010 at 5:06 AM, Ken <[email protected]> wrote:

> I want to use email and password to authenticate the user? I don't
> know how,
> and another question ,where is the login_handler method
>
> thx
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<turbogears%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>


-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
         Yahoo/pedermj2002, MSN/[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to