summaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auth.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/auth.go b/auth.go
index cf27a91..35896fb 100644
--- a/auth.go
+++ b/auth.go
@@ -206,11 +206,6 @@ func handleAuth(w http.ResponseWriter, req *http.Request) {
HttpOnly: true,
Secure: config.Prod,
Expires: expr,
- /*
- * TODO: Cookies should also have an expiration; cookies
- * without expiration don't even persist across browser
- * sessions in most browsers.
- */
} //exhaustruct:ignore
http.SetCookie(w, &cookie)