Skip to content

Commit

Permalink
Auth: strict same site header (#13896)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis authored May 14, 2024
1 parent d4e80f8 commit e7db6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/http_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func loginHandler(auth auth.Auth) http.HandlerFunc {
Path: "/",
HttpOnly: true,
Expires: time.Now().Add(lifetime),
SameSite: http.SameSiteStrictMode,
})
}
}
Expand Down

0 comments on commit e7db6df

Please sign in to comment.