* enable saml for RN app

* remove unnecessary user sanitize
Этот коммит содержится в:
enahum
2017-03-06 11:14:44 -03:00
коммит произвёл Christopher Speller
родитель 4fd961883a
Коммит fd56b8f36b

Просмотреть файл

@@ -1451,7 +1451,12 @@ func completeSaml(c *Context, w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, c.GetSiteURL()+val, http.StatusFound)
return
}
http.Redirect(w, r, app.GetProtocol(r)+"://"+r.Host, http.StatusFound)
if action == "mobile" {
w.Write([]byte(""))
} else {
http.Redirect(w, r, app.GetProtocol(r)+"://"+r.Host, http.StatusFound)
}
}
}