diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-05-04 16:36:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-04 16:36:31 -0400 |
commit | fe95276ba849bc7a520087369eea0aaff6c92358 (patch) | |
tree | 7eaa8cca5fdd2ab7d2839e474fe3e34f468fc7a3 /model | |
parent | 1838f6c25eb95a34f7fc5892e6896b3c3e2f3673 (diff) | |
download | chat-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')
-rw-r--r-- | model/session.go | 1 |
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" |