Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

turn off email signup temporarily on live supabase (#44745)

Charis00ef40cfe1ed
diff --git a/supabase/config.toml b/supabase/config.toml
index b3190d03ddf..aff7207cb1c 100644
--- a/supabase/config.toml
+++ b/supabase/config.toml
@@ -72,6 +72,9 @@ double_confirm_changes = true
# If enabled, users need to confirm their email address before signing in.
enable_confirmations = false
+[remotes.prod.auth.email]
+enable_signup = false
+
# Uncomment the following to use gh oAuth app locally with your own test app
# to use env vars locally, run > `source ./supabase/.env && supabase [command...]`
# [auth.external.github]
diff --git a/supabase/functions/search-embeddings/index.ts b/supabase/functions/search-embeddings/index.ts
index 5d1a98adcec..81db34d68fb 100644
--- a/supabase/functions/search-embeddings/index.ts
+++ b/supabase/functions/search-embeddings/index.ts
@@ -1,7 +1,7 @@
import 'https://deno.land/x/[email protected]/mod.ts'
import { createClient } from 'jsr:@supabase/supabase-js@2'
import { Configuration, OpenAIApi } from 'https://esm.sh/[email protected]'
-import { Database } from '../common/database-types.ts'
+import { Database } from '../../../packages/common/database-types.ts'
import { ApplicationError, UserError } from '../common/errors.ts'
const openAiKey = Deno.env.get('OPENAI_API_KEY')