enable saml for RN app (#5635)
* enable saml for RN app * remove unnecessary user sanitize
Этот коммит содержится в:
коммит произвёл
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user