The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): before-user-created hook had invalid ipnet cmp (#47940)
Chris Stocktonc8d60097d9f3
diff --git a/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx b/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdxindex c76f9deadf8..5d9b56bcbef 100644--- a/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx+++ b/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx@@ -404,7 +404,7 @@ begin-- Step 1: Check for explicit allowselect count(*) into allow_countfrom public.signup_networks- where type = 'allow' and ip::inet << cidr;+ where type = 'allow' and ip <<= cidr;if allow_count > 0 then-- If explicitly allowed, allow signup@@ -414,7 +414,7 @@ begin-- Step 2: Check for explicit denyselect count(*) into deny_countfrom public.signup_networks- where type = 'deny' and ip::inet << cidr;+ where type = 'deny' and ip <<= cidr;if deny_count > 0 thenreturn jsonb_build_object(