mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 13:01:12 +00:00
feat: allow LDAP users and groups to be deleted if LDAP gets disabled
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
</Alert.Root>
|
||||
{/if}
|
||||
|
||||
<fieldset disabled={!$appConfigStore.allowOwnAccountEdit || !!account.ldapId}>
|
||||
<fieldset disabled={!$appConfigStore.allowOwnAccountEdit || (!!account.ldapId && $appConfigStore.ldapEnabled)}>
|
||||
<Card.Root>
|
||||
<Card.Header>
|
||||
<Card.Title>Account Details</Card.Title>
|
||||
|
||||
Reference in New Issue
Block a user