v42: Revert to persistent session cookie (24h)

This commit is contained in:
primal
2026-01-30 16:13:24 -05:00
parent aef0826004
commit cbf16bfbc8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -294,7 +294,7 @@ func (m *OAuthManager) SetSessionCookie(w http.ResponseWriter, r *http.Request,
HttpOnly: true,
Secure: secure,
SameSite: http.SameSiteLaxMode,
// No MaxAge = session cookie, deleted when browser closes
MaxAge: int(sessionTTL.Seconds()),
})
return nil
+1 -1
View File
@@ -534,7 +534,7 @@ const dashboardHTML = `<!DOCTYPE html>
<div id="output"></div>
</div>
<div style="color: #333; font-size: 11px; margin-top: 10px;">v41</div>
<div style="color: #333; font-size: 11px; margin-top: 10px;">v42</div>
<div class="updated" id="updatedAt">Last updated: {{.UpdatedAt.Format "2006-01-02 15:04:05"}}</div>
</body>