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