Fix AD/LDAP & SAML profile sync properties (#2941)
This commit is contained in:
parent
1588f46ae4
commit
614e6da142
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ import EditProfile from './edit_profile';
|
|||
function mapStateToProps(state, ownProps) {
|
||||
const config = getConfig(state);
|
||||
const {serverVersion} = state.entities.general;
|
||||
const {service} = ownProps.currentUser;
|
||||
const {auth_service: service} = ownProps.currentUser;
|
||||
|
||||
const firstNameDisabled = (service === 'ldap' && config.LdapFirstNameAttributeSet === 'true') ||
|
||||
(service === 'saml' && config.SamlFirstNameAttributeSet === 'true');
|
||||
|
|
|
|||
Loading…
Reference in a new issue