Am 09.07.2012 19:19, schrieb Alessandro Molina:
This is indeed expected as the auth cookie stores the user_name of the
user to look it up when it cames back.
As you changed the user_name to now look inside emails you will end
having already logged in users which will be looked up for something
like 'myusername' into email_addresses.

That's what I would expect as well, if the OP meant "existing session" to mean "existing permanent cookie". In this case, if you want both to work, you really have to change the user lookup method so that it looks in both fields.

-- Chris

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