From 60da2da6ef69a20c83cb3b397606d45848d78f05 Mon Sep 17 00:00:00 2001 From: Emil Virkki Date: Sun, 17 Jul 2016 23:31:37 +0300 Subject: [PATCH] Extend session length to 4 hours --- src/server/boot/03-partioid-login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/boot/03-partioid-login.js b/src/server/boot/03-partioid-login.js index 973c08e0..9550f1aa 100644 --- a/src/server/boot/03-partioid-login.js +++ b/src/server/boot/03-partioid-login.js @@ -66,7 +66,7 @@ function loginUser(user, app) { } return new Promise((resolve, reject) => { - user.createAccessToken(3600, (err, accessToken) => { + user.createAccessToken(4*3600, (err, accessToken) => { if (err) { reject(err); } else {