summaryrefslogtreecommitdiffstats
path: root/model/token.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2017-07-06 17:28:38 -0400
committerJoramWilander <jwawilander@gmail.com>2017-07-06 17:28:38 -0400
commit15ad24d160cb4604d0605ebbfa53d11a57820706 (patch)
treed33ee5e1d756586ac171b07d6ce31febee565485 /model/token.go
parent3d382cfa0e01938a24578602777325fe7fccd0c1 (diff)
downloadchat-15ad24d160cb4604d0605ebbfa53d11a57820706.tar.gz
chat-15ad24d160cb4604d0605ebbfa53d11a57820706.tar.bz2
chat-15ad24d160cb4604d0605ebbfa53d11a57820706.zip
Minor fix
Diffstat (limited to 'model/token.go')
-rw-r--r--model/token.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/token.go b/model/token.go
index 6666e112b..a4d10c7f8 100644
--- a/model/token.go
+++ b/model/token.go
@@ -8,6 +8,7 @@ import "net/http"
const (
TOKEN_SIZE = 64
MAX_TOKEN_EXIPRY_TIME = 1000 * 60 * 60 * 24 // 24 hour
+ TOKEN_TYPE_OAUTH = "oauth"
)
type Token struct {