diff --git a/tes/__init__.py b/tes/__init__.py
index 2e3f033f5e4b563babb808b6e1e67a936d310353..87bceb8eedeb8fb1abdc0bc5e86e28ffa256b502 100644
--- a/tes/__init__.py
+++ b/tes/__init__.py
@@ -11,7 +11,7 @@ app.config['MESSAGES'] = '/messages'
 app.config['DEBUG'] = True
 app.config['SECRET_KEY'] = 'asdasfdfj'
 import datetime
-app.config['PERMANENT_SESSION_LIFETIME'] = datetime.timedelta(seconds=30)
+app.config['PERMANENT_SESSION_LIFETIME'] = datetime.timedelta(days=1)
 app.config['SESSION_REFRESH_EACH_REQUEST'] = True
 app.config['SESSION_COOKIE_NAME'] = 'tessession'
 app.config['SESSION_COOKIE_SECURE'] = True