Fix missing host setting and fix tests

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-06-15 18:17:02 -03:00
parent bb13a8be5d
commit de281eb58b
4 changed files with 6 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ func SessionSetup(rw http.ResponseWriter, req *http.Request) {
return
}
s.Host = req.Host
err := core.SessionSetup(s, body)
if err != nil {
log.Println(err)