forked from goffee/core
remove secure to enable remote cookie
This commit is contained in:
parent
7c92148ae4
commit
cd04230f29
1 changed files with 0 additions and 1 deletions
|
@ -126,7 +126,6 @@ func SetCookie(w http.ResponseWriter, email string, token string) error {
|
||||||
Path: "/",
|
Path: "/",
|
||||||
MaxAge: 3600,
|
MaxAge: 3600,
|
||||||
HttpOnly: true,
|
HttpOnly: true,
|
||||||
Secure: true,
|
|
||||||
SameSite: http.SameSiteLaxMode,
|
SameSite: http.SameSiteLaxMode,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue