From 9052d81790526a57bfbba702ee7e4364532d1d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Wed, 27 Feb 2019 12:44:46 +0100 Subject: [PATCH] MM-13817: Increase the time limit of tokens existency from 24h to 48h (#10318) --- model/token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/token.go b/model/token.go index a4d10c7f8dc..290d5775003 100644 --- a/model/token.go +++ b/model/token.go @@ -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" )