summaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.go b/auth.go
index 58eb46b..d2c7103 100644
--- a/auth.go
+++ b/auth.go
@@ -214,7 +214,7 @@ func handleAuth(w http.ResponseWriter, req *http.Request) {
cookie := http.Cookie{
Name: "session",
Value: cookieValue,
- SameSite: http.SameSiteLaxMode,
+ SameSite: http.SameSiteStrictMode,
HttpOnly: true,
Secure: config.Prod,
Expires: expr,