Am 31.01.2011 13:30, schrieb [email protected]:
> I'm using TG 1.1, and I would like to use email in — addition — to
> username to auth my users.
> 
> Is that possible, and how ?
> I've found solutions, but for TG2…

To do that you must create a subclass of the SQLObjectIdentityProvider
or SQLAlchemyIndentityProvider with a custom validate_identity method.

See here: http://docs.turbogears.org/1.0/IdentityRecipes

It's actually not so complicated as it may look at a first glance.

-- Chrisotph

-- 
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