aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/handlers')
-rw-r--r--cmd/web/handlers/login.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web/handlers/login.go b/cmd/web/handlers/login.go
index 87684ba..f912977 100644
--- a/cmd/web/handlers/login.go
+++ b/cmd/web/handlers/login.go
@@ -150,6 +150,7 @@ func (ctx *loginContext) logout(w http.ResponseWriter, r *http.Request) {
Name: "paterissa_session_token",
Value: "",
Path: "/",
+ Domain: os.Getenv("serv"),
MaxAge: -1,
HttpOnly: true,
}