Raphael Slinckx <r.slin...@whatever-company.com> added the comment:

For the record here's what i had to do in my registration controller to login
the user after he signs up automatically (using TG2/pylons):

# Remember the user, removing the need to login
identity = {'repoze.who.userid': user.user_name.lower()}
headers =
request.environ['repoze.who.plugins']['cookie'].remember(request.environ, 
identity)
for k, v in headers:
    response.headers.add(k, v)

__________________________________
Repoze Bugs <b...@bugs.repoze.org>
<http://bugs.repoze.org/issue58>
__________________________________
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to