diff --git a/packages/editor-ui/src/views/SettingsPersonalView.vue b/packages/editor-ui/src/views/SettingsPersonalView.vue index 93928d091..e0a32a2c1 100644 --- a/packages/editor-ui/src/views/SettingsPersonalView.vue +++ b/packages/editor-ui/src/views/SettingsPersonalView.vue @@ -32,7 +32,7 @@ /> -
+
{{ $locale.baseText('settings.personal.security') }}
@@ -114,7 +114,7 @@ export default mixins(showMessage).extend({ validationRules: [{ name: 'VALID_EMAIL' }], autocomplete: 'email', capitalize: true, - disabled: this.isLDAPFeatureEnabled && this.signInWithLdap, + disabled: (this.isLDAPFeatureEnabled && this.signInWithLdap) || this.signInWithSaml, }, }, ]; @@ -130,6 +130,11 @@ export default mixins(showMessage).extend({ isLDAPFeatureEnabled(): boolean { return this.settingsStore.settings.enterprise.ldap === true; }, + signInWithSaml(): boolean { + return ( + this.settingsStore.isSamlLoginEnabled && this.settingsStore.isDefaultAuthenticationSaml + ); + }, }, methods: { onInput() {