Skip to content

Commit

Permalink
Adding docstring to handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbhowmik89 committed Feb 3, 2015
1 parent 4777c15 commit d4baf69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/controllers/logout.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ class LogoutPage(webapp.RequestHandler):
ONE_DAY_AGO_IN_SECS = -24 * 60 * 60

def get(self):
# It seems that AppEngine is setting the ACSID cookie for http:// ,
# and the SACSID cookie for https:// . We just unset both below.
"""Logs the user out and returns them to the current page."""
# AppEngine sets the ACSID cookie for http:// and the SACSID cookie for
# https:// . We just unset both below.
cookie = Cookie.SimpleCookie()
for cookie_name in ['ACSID', 'SACSID']:
cookie = Cookie.SimpleCookie()
Expand Down

0 comments on commit d4baf69

Please sign in to comment.