Created
August 7, 2012 23:07
-
-
Save marcofalcioni/3290385 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@view_config(route_name = 'logout', renderer = 'user_management/logout.mak') | |
def logout(request): | |
"""Logs out the user""" | |
headers = forget(request) | |
request.response.headers = headers | |
return {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment