summaryrefslogtreecommitdiffstats
path: root/model/session.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-05-04 16:36:31 -0400
committerGitHub <noreply@github.com>2017-05-04 16:36:31 -0400
commitfe95276ba849bc7a520087369eea0aaff6c92358 (patch)
tree7eaa8cca5fdd2ab7d2839e474fe3e34f468fc7a3 /model/session.go
parent1838f6c25eb95a34f7fc5892e6896b3c3e2f3673 (diff)
downloadchat-fe95276ba849bc7a520087369eea0aaff6c92358.tar.gz
chat-fe95276ba849bc7a520087369eea0aaff6c92358.tar.bz2
chat-fe95276ba849bc7a520087369eea0aaff6c92358.zip
PLT-6492 Use new cookie to determine if user is logged in (#6317)
* Use new cookie to determine if user is logged in * Add temporary code for 3.9 to prevent forced re-login
Diffstat (limited to 'model/session.go')
-rw-r--r--model/session.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/session.go b/model/session.go
index 90cebe59d..38d1c91f1 100644
--- a/model/session.go
+++ b/model/session.go
@@ -11,6 +11,7 @@ import (
const (
SESSION_COOKIE_TOKEN = "MMAUTHTOKEN"
+ SESSION_COOKIE_USER = "MMUSERID"
SESSION_CACHE_SIZE = 35000
SESSION_PROP_PLATFORM = "platform"
SESSION_PROP_OS = "os"