solved problems with auth and cookie expire

This commit is contained in:
mdipierro
2013-08-22 02:38:49 -05:00
parent 9d9190584e
commit 18601c4f72
3 changed files with 6 additions and 4 deletions
+1 -2
View File
@@ -1225,8 +1225,7 @@ class Auth(object):
response = current.response
if auth and auth.remember:
# when user wants to be logged in for longer
response.cookies[response.session_id_name]["expires"] = \
auth.expiration
response.session_cookie_expires = auth.expiration
if signature:
self.define_signature()
else: