[proxy] Set session cookie path to root (#5915)

This commit is contained in:
alsruf36
2026-04-23 18:20:54 +02:00
committed by GitHub
parent fa0d58d093
commit c07c726ea7
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -433,6 +433,7 @@ func setSessionCookie(w http.ResponseWriter, token string, expiration time.Durat
http.SetCookie(w, &http.Cookie{
Name: auth.SessionCookieName,
Value: token,
Path: "/",
HttpOnly: true,
Secure: true,
SameSite: http.SameSiteLaxMode,