mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-13 14:52:18 +00:00
fix: disable account details inputs if user is imported from LDAP
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
</Alert.Root>
|
||||
{/if}
|
||||
|
||||
{#if $appConfigStore.allowOwnAccountEdit}
|
||||
<fieldset disabled={!$appConfigStore.allowOwnAccountEdit || !!account.ldapId}>
|
||||
<Card.Root>
|
||||
<Card.Header>
|
||||
<Card.Title>Account Details</Card.Title>
|
||||
@@ -73,7 +73,7 @@
|
||||
<AccountForm {account} callback={updateAccount} />
|
||||
</Card.Content>
|
||||
</Card.Root>
|
||||
{/if}
|
||||
</fieldset>
|
||||
|
||||
<Card.Root>
|
||||
<Card.Header>
|
||||
|
||||
Reference in New Issue
Block a user