corrected incorrect parsing of username

This commit is contained in:
Paul Wilde 2021-08-16 20:43:35 +01:00
parent ac79db5f66
commit 6ef99652b6

View file

@ -21,6 +21,7 @@ func MozAutoconfig() string {
tmpl := "templates/autoconfig.xml" tmpl := "templates/autoconfig.xml"
response := Response{} response := Response{}
response.Email = global.ThisSession.Request.FormValue("emailaddress") response.Email = global.ThisSession.Request.FormValue("emailaddress")
email = response.Email
response.Config = global.MainConfig response.Config = global.MainConfig
name := path.Base(tmpl) name := path.Base(tmpl)