summaryrefslogtreecommitdiffstats
path: root/model/token.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-04-27 16:22:46 -0400
committerGitHub <noreply@github.com>2017-04-27 16:22:46 -0400
commitbd9acee72bb317b94498db49584dbf2b10239b79 (patch)
treed301723efa61398720aec7c53f0469ebd0945b5a /model/token.go
parentfb3cc12f56a96c1772f3c31c380aa5038a158192 (diff)
downloadchat-bd9acee72bb317b94498db49584dbf2b10239b79.tar.gz
chat-bd9acee72bb317b94498db49584dbf2b10239b79.tar.bz2
chat-bd9acee72bb317b94498db49584dbf2b10239b79.zip
Fixing token size issue (#6258)
Diffstat (limited to 'model/token.go')
-rw-r--r--model/token.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/token.go b/model/token.go
index 54cbd210e..6666e112b 100644
--- a/model/token.go
+++ b/model/token.go
@@ -6,7 +6,7 @@ package model
import "net/http"
const (
- TOKEN_SIZE = 128
+ TOKEN_SIZE = 64
MAX_TOKEN_EXIPRY_TIME = 1000 * 60 * 60 * 24 // 24 hour
)