Authn UI: Remove feature toggle (#70073)

* Authn UI: Remove feature toggle

* remove feature flag usage
This commit is contained in:
Alexander Zobnin
2023-06-14 19:58:15 +03:00
committed by GitHub
parent 6dc65d4d5d
commit 6c7d5bf95f
8 changed files with 7 additions and 22 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ func (hs *HTTPServer) registerRoutes() {
r.Get("/user/auth-tokens/rotate", routing.Wrap(hs.RotateUserAuthTokenRedirect))
}
if hs.License.FeatureEnabled("saml") && hs.Features.IsEnabled(featuremgmt.FlagAuthenticationConfigUI) {
if hs.License.FeatureEnabled("saml") {
// TODO change the scope when we extend the auth UI to more providers
r.Get("/admin/authentication/", authorize(ac.EvalPermission(ac.ActionSettingsWrite, ac.ScopeSettingsSAML)), hs.Index)
}