diff --git a/public/app/features/admin/UserProfile.tsx b/public/app/features/admin/UserProfile.tsx index 4a1bf2fb4a4..cfdd1ade808 100644 --- a/public/app/features/admin/UserProfile.tsx +++ b/public/app/features/admin/UserProfile.tsx @@ -82,7 +82,8 @@ export class UserProfile extends PureComponent { render() { const { user } = this.props; const { showDeleteModal, showDisableModal } = this.state; - const lockMessage = 'Synced via LDAP'; + const authSource = user.authLabels?.length && user.authLabels[0]; + const lockMessage = authSource ? `Synced via ${authSource}` : ''; const styles = getStyles(config.theme); return (