1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-10-31 00:17:42 +02:00

Adding config for session expire and refresh

This commit is contained in:
Jesús Espino
2021-01-11 15:16:39 +01:00
parent daae244cba
commit dabfd2ea01
2 changed files with 4 additions and 2 deletions

View File

@@ -10,5 +10,7 @@
"filespath": "./files",
"telemetry": true,
"webhook_update": [],
"secret": "this-is-a-secret-string"
"secret": "this-is-a-secret-string",
"session_expire_time": 2592000,
"session_refresh_time": 18000
}

View File

@@ -51,7 +51,7 @@ class OctoClient {
return false
}
headers() {
private headers() {
return {
Accept: 'application/json',
'Content-Type': 'application/json',