From: Chocobozzz Date: Fri, 8 Jun 2018 06:17:41 +0000 (+0200) Subject: Increase access_token lifetime X-Git-Tag: v1.0.0-beta.8~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff193d5e3fbe648f689be2e235dcf88daa1bba48;p=oweals%2Fpeertube.git Increase access_token lifetime --- 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 }