From 95fc3a0825795b15a387707ac8cb2cb0df3f4c27 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 22 Mar 2024 15:31:55 +0000
Subject: feature: Add an option to disable new signups

---
 apps/web/lib/clientConfig.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'apps/web/lib/clientConfig.tsx')

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() {
-- 
cgit v1.2.3-70-g09d2

