feat: scope organization access by memberships
This commit is contained in:
@@ -32,7 +32,9 @@
|
||||
<Dialog.Content class="sm:max-w-md">
|
||||
<Dialog.Header>
|
||||
<Dialog.Title>Create user</Dialog.Title>
|
||||
<Dialog.Description>Add a manually managed Better Auth user.</Dialog.Description>
|
||||
<Dialog.Description>
|
||||
Create a user or add an existing email to this organization.
|
||||
</Dialog.Description>
|
||||
</Dialog.Header>
|
||||
<form method="POST" action="?/create" class="grid gap-2" use:enhanceCreate>
|
||||
<FormField form={createForm} name="name">
|
||||
@@ -66,6 +68,7 @@
|
||||
{...props}
|
||||
type="password"
|
||||
autocomplete="new-password"
|
||||
placeholder="Required for new users"
|
||||
bind:value={$createData.password}
|
||||
/>
|
||||
{/snippet}
|
||||
|
||||
Reference in New Issue
Block a user