bugfix: http sites can't set cookies with secure=true
This commit is contained in:
parent
43e5a3ed4e
commit
df3df75820
@ -12,7 +12,6 @@ func (authMux *AuthMux) createCookie() *http.Cookie {
|
|||||||
Path: "/",
|
Path: "/",
|
||||||
HttpOnly: true,
|
HttpOnly: true,
|
||||||
MaxAge: -1,
|
MaxAge: -1,
|
||||||
Secure: true,
|
|
||||||
SameSite: http.SameSiteLaxMode,
|
SameSite: http.SameSiteLaxMode,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user