On Dec 22, 3:54 pm, KLEIN Stéphane <[email protected]> wrote:
> Hi,
>
> I use AuthKit in one Pylons project.
>
> I've have several signout pages :
>
> * /en/signout
> * /fr/signout
> * ...
>
> In a controller method, I would like perform signout action but I
> don't know how can I do that.
>
> Is there one AuthKit function to do logout without signout path ?
>
> I know I can do a redirect to one signout url but I would like to know
> if there are other solutions ?
This is the solution :
::
request.environ['paste.auth_tkt.logout_user']()
del request.environ['REMOTE_USER']
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.