Hi guys,

I have a small problem in one of my projects using tg2. I've had a pretty 
standard User table and now I implemented email-based logins. I did this by 
adding base_config.sa_auth.translations.user_name = 'email_address' to the 
app_cfg.py. Unfortunatly this leads to some problems if users have existing 
sessions. Basically it seems like repoze is no longer able to read the 
existing sessions and sets request.identity['user'] to None. When the user 
tries to login via /login the request.identity['user'] is still None, and 
he has to call /logout_handler once before he is able to login again.

Is anybody able to help me with that problem? I've searched everywhere but 
I couldn't find any solution.

Turbo

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/VC1tmlAgIZwJ.
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