mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Increase access_token lifetime
This commit is contained in:
@@ -39,7 +39,7 @@ const SORTABLE_COLUMNS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const OAUTH_LIFETIME = {
|
const OAUTH_LIFETIME = {
|
||||||
ACCESS_TOKEN: 3600 * 4, // 4 hours
|
ACCESS_TOKEN: 3600 * 24, // 1 day, for upload
|
||||||
REFRESH_TOKEN: 1209600 // 2 weeks
|
REFRESH_TOKEN: 1209600 // 2 weeks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user