[MM-41534] - Portal not picking up MMCLOUDURL cookie (#19515)

Этот коммит содержится в:
Allan Guwatudde
2022-02-08 20:07:16 +03:00
коммит произвёл GitHub
родитель 03d059bd2a
Коммит e27099ec03

Просмотреть файл

@@ -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)