diff options
author | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-09-11 19:03:19 +0300 |
---|---|---|
committer | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-09-11 19:03:19 +0300 |
commit | 7a47e860f3e31b02eacfff2bc32bef25e52f27b7 (patch) | |
tree | 77ace15bd27a42244f106e9a5aa95d752421cd58 | |
parent | 551ec02c4a7d0d4da3936f0e1fccf6269ac07921 (diff) |
Do not set domain to cookie to avoid wildcard cookie
-rw-r--r-- | internal/auth/auth.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go index ab661d3d..5890feae 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -65,7 +65,6 @@ func (a *Auth) getSessionFromStore(r *http.Request) (*sessions.Session, error) { // Cookie just for this domain session.Options = &sessions.Options{ Path: "/", - Domain: host, } } |