MM-13817: Increase the time limit of tokens existency from 24h to 48h (#10318)

This commit is contained in:
Jesús Espino
2019-02-27 12:44:46 +01:00
committed by GitHub
parent e1ed46605a
commit 9052d81790

View File

@@ -7,7 +7,7 @@ import "net/http"
const (
TOKEN_SIZE = 64
MAX_TOKEN_EXIPRY_TIME = 1000 * 60 * 60 * 24 // 24 hour
MAX_TOKEN_EXIPRY_TIME = 1000 * 60 * 60 * 48 // 48 hour
TOKEN_TYPE_OAUTH = "oauth"
)