Commits

Anonymous committed ad9d4ba

Fixing leap day bug with cookie deletion.

Comments (0)

Files changed (1)

beaker/session.py

 
     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()