1. Greg Nelson
  2. beaker

Commits

Greg Nelson  committed ad9d4ba

Fixing leap day bug with cookie deletion.

  • Participants
  • Parent commits ef3ad72
  • Branches default

Comments (0)

Files changed (1)

File beaker/session.py

View file
  • Ignore whitespace
 
     def _delete_cookie(self):
         self.request['set_cookie'] = True
-        expires = datetime.utcnow().replace(year=2003)
+        expires = datetime.utcnow().replace(year=2004)
         self._set_cookie_values(expires)
         self._update_cookie_out()