Auth: strict same site header (#13896)

This commit is contained in:
Michael Geers 2024-05-14 07:45:18 +02:00 • committed by GitHub
parent d4e80f8403
commit e7db6df5ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,6 +114,7 @@ func loginHandler(auth auth.Auth) http.HandlerFunc {
Path: "/",
HttpOnly: true,
Expires: time.Now().Add(lifetime),
SameSite: http.SameSiteStrictMode,
})
}
}