Audit changes.

This commit is contained in:
jdl
2026-06-13 15:47:28 +02:00
parent 243e75dd09
commit 0cd5982a3f
2 changed files with 5 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ func (a *App) setCookie(w http.ResponseWriter, name, value string) {
Secure: !a.insecure,
SameSite: http.SameSiteStrictMode,
HttpOnly: true,
MaxAge: 86400 * 365 * 10,
MaxAge: 86400 * 21,
})
}