From b890de2ad1df3382a15b4d2f3309c7cd4d2b9fa6 Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Fri, 9 Oct 2026 12:12:04 -0400 Subject: [PATCH] fix(auth): allow admins to create accounts when sign-ups are disabled - Clarify that disabling self-registration still allows admin-created accounts --- .../mobile/app/(app)/(tabs)/home/settings.tsx | 2 +- apps/web/components/options-modal.tsx | 12 +++++-- packages/convex/convex/auth.ts | 36 +++++++++++-------- 3 files changed, 31 insertions(+), 19 deletions(-) diff --git a/apps/mobile/app/(app)/(tabs)/home/settings.tsx b/apps/mobile/app/(app)/(tabs)/home/settings.tsx index ebb79e0..44b1de3 100644 --- a/apps/mobile/app/(app)/(tabs)/home/settings.tsx +++ b/apps/mobile/app/(app)/(tabs)/home/settings.tsx @@ -462,7 +462,7 @@ function UsersSection({ void setDisableCreation({ disabled: checked }).catch( diff --git a/apps/web/components/options-modal.tsx b/apps/web/components/options-modal.tsx index 46b3df8..efe7f85 100644 --- a/apps/web/components/options-modal.tsx +++ b/apps/web/components/options-modal.tsx @@ -848,9 +848,15 @@ function UsersSection({ .catch((error: Error) => toast.error(error.message)) }} /> - +
+ +

+ Stops people from registering themselves. You can still create + accounts. +

+