From ff193d5e3fbe648f689be2e235dcf88daa1bba48 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Jun 2018 08:17:41 +0200 Subject: [PATCH] Increase access_token lifetime --- server/initializers/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 54f22c95a..79e4bb7f0 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -39,7 +39,7 @@ const SORTABLE_COLUMNS = { } const OAUTH_LIFETIME = { - ACCESS_TOKEN: 3600 * 4, // 4 hours + ACCESS_TOKEN: 3600 * 24, // 1 day, for upload REFRESH_TOKEN: 1209600 // 2 weeks } -- 2.25.1