Don't change session host!

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-09-08 18:22:31 -03:00
parent 19283a3c86
commit 86044788b9

View File

@@ -19,7 +19,6 @@ func SessionSetup(rw http.ResponseWriter, req *http.Request) {
s := core.SessionGet(sessionId) s := core.SessionGet(sessionId)
s.Host = req.Host
err := core.SessionSetup(s, body) err := core.SessionSetup(s, body)
if err != nil { if err != nil {
if pwd.SessionNotEmpty(err) { if pwd.SessionNotEmpty(err) {