1
0
Fork 0
forked from goffee/core

remove secure to enable remote cookie

This commit is contained in:
Zeni Kim 2024-10-28 12:11:24 -05:00
parent 7c92148ae4
commit cd04230f29

View file

@ -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,
} }