From e27099ec03887dd39629b027d4b99e981d2124ba Mon Sep 17 00:00:00 2001 From: Allan Guwatudde Date: Tue, 8 Feb 2022 20:07:16 +0300 Subject: [PATCH] [MM-41534] - Portal not picking up MMCLOUDURL cookie (#19515) --- app/login.go | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/app/login.go b/app/login.go index c3816f0fd5..255595d7cb 100644 --- a/app/login.go +++ b/app/login.go @@ -273,14 +273,13 @@ func (a *App) AttachCloudSessionCookie(c *request.Context, w http.ResponseWriter } cookie := &http.Cookie{ - Name: model.SessionCookieCloudUrl, - Value: workspaceName, - Path: subpath, - MaxAge: maxAge, - Expires: expiresAt, - HttpOnly: true, - Domain: domain, - Secure: secure, + Name: model.SessionCookieCloudUrl, + Value: workspaceName, + Path: subpath, + MaxAge: maxAge, + Expires: expiresAt, + Domain: domain, + Secure: secure, } http.SetCookie(w, cookie)