diff --git a/gui/app/mixins/auth.js b/gui/app/mixins/auth.js index 9e58f0dc..ca3b9f3c 100644 --- a/gui/app/mixins/auth.js +++ b/gui/app/mixins/auth.js @@ -28,6 +28,7 @@ export default Mixin.create({ this.set('isAuthProviderKeycloak', this.get('appMeta.authProvider') === constants.AuthProvider.Keycloak); this.set('isAuthProviderLDAP', this.get('appMeta.authProvider') === constants.AuthProvider.LDAP); this.set('isAuthProviderCAS', this.get('appMeta.authProvider') == constants.AuthProvider.CAS); + if (this.get('appMeta.authProvider') === constants.AuthProvider.LDAP) { let config = this.get('appMeta.authConfig'); diff --git a/gui/app/templates/components/customize/auth-settings.hbs b/gui/app/templates/components/customize/auth-settings.hbs index c1273f6d..5d882ac7 100644 --- a/gui/app/templates/components/customize/auth-settings.hbs +++ b/gui/app/templates/components/customize/auth-settings.hbs @@ -181,9 +181,9 @@ e.g. http://localhost:8888/auth
- + {{focus-input id="cas-redirect-url" type="text" value=casConfig.redirectUrl class=(if casErrorRedirectUrl "form-control is-invalid" "form-control")}} - e.g. http://localhost:8888/ + e.g. http:///auth/cas
{{/if}} {{ui/ui-button color=constants.Color.Green light=true icon=constants.Icon.Locked label=constants.Label.Activate onClick=(action "onSave")}}