mirror of
https://github.com/supabase/supabase.git
synced 2026-06-08 18:47:20 +08:00
turn off email signup temporarily on live supabase (#44745)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Disabled email-based user signup for the production environment. * Disabled local database network restrictions to simplify local development and testing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'https://deno.land/x/xhr@0.2.1/mod.ts'
|
||||
import { createClient } from 'jsr:@supabase/supabase-js@2'
|
||||
import { Configuration, OpenAIApi } from 'https://esm.sh/openai@3.1.0'
|
||||
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')
|
||||
|
||||
Reference in New Issue
Block a user