From 86044788b9affa85ef19a9aa37002ca285f6f649 Mon Sep 17 00:00:00 2001 From: "Jonathan Leibiusky @xetorthio" Date: Fri, 8 Sep 2017 18:22:31 -0300 Subject: [PATCH] Don't change session host! --- handlers/session_setup.go | 1 - 1 file changed, 1 deletion(-) diff --git a/handlers/session_setup.go b/handlers/session_setup.go index b0cee0b..b5b9913 100644 --- a/handlers/session_setup.go +++ b/handlers/session_setup.go @@ -19,7 +19,6 @@ func SessionSetup(rw http.ResponseWriter, req *http.Request) { s := core.SessionGet(sessionId) - s.Host = req.Host err := core.SessionSetup(s, body) if err != nil { if pwd.SessionNotEmpty(err) {