Skip to content

Commit 0f75c1a

Browse files
feedback
1 parent 9848797 commit 0f75c1a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

docs/docs/configuration/auth/providers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ If there's an authentication provider you'd like us to support, please [reach ou
1111

1212
### Email / Password
1313
---
14-
Email / password authentication is enabled by default. You can toggle it from **Settings → Access** using the **Email login** setting.
14+
Email / password authentication is enabled by default. You can toggle it from **Settings → Security** using the **Email login** setting.
1515

1616
The `AUTH_CREDENTIALS_LOGIN_ENABLED` environment variable is deprecated. It still works, but when it is set it overrides the UI setting and locks the toggle. Leave it unset to manage email login from the UI.
1717

packages/web/src/app/(app)/settings/security/components/emailCodeLoginEnabledSettingsCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function EmailCodeLoginEnabledSettingsCard({
7373
<Switch
7474
checked={enabled}
7575
onCheckedChange={handleToggle}
76-
disabled={isLoading || !isEmailServiceConfigured}
76+
disabled={isLoading || (!isEmailServiceConfigured && !enabled)}
7777
/>
7878
</BasicSettingsCard>
7979
)

packages/web/src/app/(app)/settings/security/components/inviteLinkEnabledSettingsCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export function InviteLinkEnabledSettingsCard({ inviteLinkEnabled, inviteLink }:
9191
size="icon"
9292
className="shrink-0 border-border hover:bg-muted"
9393
disabled={!inviteLink}
94+
aria-label={copied ? "Invite link copied" : "Copy invite link"}
9495
>
9596
{copied ? (
9697
<Check className="h-4 w-4 text-[var(--chart-2)]" />

0 commit comments

Comments
 (0)