diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-02-20 12:49:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-20 12:49:45 -0800 |
commit | 75d9a3a3b99d0acafb6783a721a35ab1ccdd8d9d (patch) | |
tree | e362a6a112af73c8b5d9c7739753751429903a26 /api4/user.go | |
parent | febc129ecaa2a0ca8c6f8deeac654cb296b2b436 (diff) | |
download | chat-75d9a3a3b99d0acafb6783a721a35ab1ccdd8d9d.tar.gz chat-75d9a3a3b99d0acafb6783a721a35ab1ccdd8d9d.tar.bz2 chat-75d9a3a3b99d0acafb6783a721a35ab1ccdd8d9d.zip |
MM-8681 Adding config settings necessary for using CloudFront. (#8307)
* Adding config settings nessisary for using CloudFront.
* Adding new config settings to diagnostics.
Diffstat (limited to 'api4/user.go')
-rw-r--r-- | api4/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/user.go b/api4/user.go index cfb2a5b3f..165e5aa9a 100644 --- a/api4/user.go +++ b/api4/user.go @@ -1076,6 +1076,7 @@ func attachDeviceId(c *Context, w http.ResponseWriter, r *http.Request) { MaxAge: maxAge, Expires: expiresAt, HttpOnly: true, + Domain: c.App.GetCookieDomain(), Secure: secure, } |