Skip to content

Commit

Permalink
fix: Allow any auth except LDAP and SAML to change email (#4810)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Nov 7, 2024
1 parent 105306b commit 10eb571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/web/components/pages/AccountSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ class TheComponent extends Component {
/>
<div className='col-md-6'>
<form className='mb-0' onSubmit={this.save}>
{AccountStore.model.auth_type === 'EMAIL' && (
{!['LDAP', 'SAML'].includes(
AccountStore.model.auth_type,
) && (
<div>
<InputGroup
className='mt-2'
Expand Down

0 comments on commit 10eb571

Please sign in to comment.