diff options
author | Señor X | 2019-04-03 18:52:21 -0300 |
---|---|---|
committer | Señor X | 2019-04-03 18:52:21 -0300 |
commit | d0aa50672d32668e4945c853c4888a42ed70639f (patch) | |
tree | c101214425dfc4fcf0389b19008a7683c67b326c | |
parent | ed0d81dc63f6856dfe402614760197010ee6be0f (diff) | |
download | weabot-d0aa50672d32668e4945c853c4888a42ed70639f.tar.gz weabot-d0aa50672d32668e4945c853c4888a42ed70639f.tar.xz weabot-d0aa50672d32668e4945c853c4888a42ed70639f.zip |
Cookie no se borra al cerrar sesión
-rw-r--r-- | cgi/framework.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/framework.py b/cgi/framework.py index 5f4f4f4..651814c 100644 --- a/cgi/framework.py +++ b/cgi/framework.py @@ -380,7 +380,7 @@ def deleteCookie(self, key): else: self._newcookies[key]["path"] = "/" self._newcookies[key]["domain"] = self._cookies[key]["domain"] - self._newcookies[key]["max-age"] = 0 + self._newcookies[key]["expires"] = "Thu, 01 Jan 1970 00:00:00 GMT" def elapsed_time(seconds, suffixes=['y','w','d','h','m','s'], add_s=False, separator=' '): """ |