dssdds
This commit is contained in:
parent
22170c192a
commit
75418e2b8a
@ -51,8 +51,8 @@ func AuthWithTokenHandler() http.HandlerFunc {
|
||||
Value: token,
|
||||
Path: "/",
|
||||
HttpOnly: true,
|
||||
Secure: false, // true en prod
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
Secure: true, // Obligatoire avec SameSite=None
|
||||
SameSite: http.SameSiteNoneMode,
|
||||
})
|
||||
|
||||
http.Redirect(w, r, "/dashboard", http.StatusSeeOther)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user