mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Adding multi-session cookie
This commit is contained in:
@@ -111,7 +111,7 @@ func manualTest(c *api.Context, w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// Respond with an auth token this can be overriden by a specific test as required
|
||||
sessionCookie := &http.Cookie{
|
||||
Name: model.SESSION_TOKEN,
|
||||
Name: model.SESSION_COOKIE_TOKEN,
|
||||
Value: client.AuthToken,
|
||||
Path: "/",
|
||||
MaxAge: model.SESSION_TIME_WEB_IN_SECS,
|
||||
|
||||
Reference in New Issue
Block a user