Skip to content

Commit f2c7088

Browse files
committed
Improved description for disabling sign ups
1 parent d01471a commit f2c7088

File tree

1 file changed

+4
-4
lines changed
  • apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/auth-methods

1 file changed

+4
-4
lines changed

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/auth-methods/page-client.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ export default function PageClient() {
6363
</SettingCard>
6464
<SettingCard title="Settings">
6565
<SettingSwitch
66-
label="Allow everyone to create accounts"
67-
checked={project.config.signUpEnabled}
66+
label="Disable sign ups, only allow sign ins from existing users"
67+
checked={!project.config.signUpEnabled}
6868
onCheckedChange={async (checked) => {
6969
await project.update({
7070
config: {
71-
signUpEnabled: checked,
71+
signUpEnabled: !checked,
7272
},
7373
});
7474
}}
75-
hint="When disabled, only users with an existing account can sign in. You can still create new accounts manually on the dashboard."
75+
hint="Admins (like you) can still create new accounts manually by clicking 'Create User' on the Users page of the dashboard."
7676
/>
7777
</SettingCard>
7878
</PageLayout>

0 commit comments

Comments
 (0)