* enable saml for RN app

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

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

@@ -1451,9 +1451,14 @@ func completeSaml(c *Context, w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, c.GetSiteURL()+val, http.StatusFound) http.Redirect(w, r, c.GetSiteURL()+val, http.StatusFound)
return return
} }
if action == "mobile" {
w.Write([]byte(""))
} else {
http.Redirect(w, r, app.GetProtocol(r)+"://"+r.Host, http.StatusFound) http.Redirect(w, r, app.GetProtocol(r)+"://"+r.Host, http.StatusFound)
} }
} }
}
func userTyping(req *model.WebSocketRequest) (map[string]interface{}, *model.AppError) { func userTyping(req *model.WebSocketRequest) (map[string]interface{}, *model.AppError) {
var ok bool var ok bool