1
0
Fork 0

Increase access_token lifetime

This commit is contained in:
Chocobozzz 2018-06-08 08:17:41 +02:00
parent 8eb8bc201e
commit ff193d5e3f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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
}