From 4a3775a9ac4242318dd7b91f0012cd756edcad7b Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Sun, 6 Oct 2024 10:06:19 +0200 Subject: feature: Allow disabling password signups (#413) * [Feature Request] Allow to disable default password log in after SSO is configured #406 Added the DISABLE_LOCAL_SIGNUPS that can be used to force OAuth signups only * rename local signups to password signups --------- Co-authored-by: MohamedBassem --- apps/web/lib/clientConfig.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/web/lib') diff --git a/apps/web/lib/clientConfig.tsx b/apps/web/lib/clientConfig.tsx index 31395199..90e6d35c 100644 --- a/apps/web/lib/clientConfig.tsx +++ b/apps/web/lib/clientConfig.tsx @@ -6,6 +6,7 @@ export const ClientConfigCtx = createContext({ demoMode: undefined, auth: { disableSignups: false, + disablePasswordSignups: false, }, inference: { inferredTagLang: "english", -- cgit v1.2.3-70-g09d2