Auth: strict same site header (#13896)
This commit is contained in:
parent
d4e80f8403
commit
e7db6df5ea
1 changed files with 1 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ func loginHandler(auth auth.Auth) http.HandlerFunc {
|
|||
Path: "/",
|
||||
HttpOnly: true,
|
||||
Expires: time.Now().Add(lifetime),
|
||||
SameSite: http.SameSiteStrictMode,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue