diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-22 15:31:55 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-22 15:31:55 +0000 |
| commit | 95fc3a0825795b15a387707ac8cb2cb0df3f4c27 (patch) | |
| tree | 71cc8a672b55f9b7903bb8025561ee3b98513034 /apps/web/lib | |
| parent | 2cd2f92e9e0c82eaa5f21fe0c30e20ebea7aba24 (diff) | |
| download | karakeep-95fc3a0825795b15a387707ac8cb2cb0df3f4c27.tar.zst | |
feature: Add an option to disable new signups
Diffstat (limited to 'apps/web/lib')
| -rw-r--r-- | apps/web/lib/clientConfig.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/web/lib/clientConfig.tsx b/apps/web/lib/clientConfig.tsx index fac76d3b..10ca1010 100644 --- a/apps/web/lib/clientConfig.tsx +++ b/apps/web/lib/clientConfig.tsx @@ -4,6 +4,9 @@ import type { ClientConfig } from "@hoarder/shared/config"; export const ClientConfigCtx = createContext<ClientConfig>({ demoMode: false, + auth: { + disableSignups: false, + }, }); export function useClientConfig() { |
