The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: mfa phone alert fixed to show up only if phone is not configured (#32620)
Stojan Dimitrovski7bf5825bb51a
diff --git a/apps/studio/components/interfaces/Auth/AdvancedAuthSettingsForm/AdvancedAuthSettingsForm.tsx b/apps/studio/components/interfaces/Auth/AdvancedAuthSettingsForm/AdvancedAuthSettingsForm.tsxindex 431d8a57426..c8455d5aa3e 100644--- a/apps/studio/components/interfaces/Auth/AdvancedAuthSettingsForm/AdvancedAuthSettingsForm.tsx+++ b/apps/studio/components/interfaces/Auth/AdvancedAuthSettingsForm/AdvancedAuthSettingsForm.tsx@@ -140,9 +140,7 @@ const AdvancedAuthSettingsForm = () => {// For now, we support Twilio and Vonage. Twilio Verify is not supported and the remaining providers are community maintained.const sendSMSHookIsEnabled =authConfig?.HOOK_SEND_SMS_URI !== null && authConfig?.HOOK_SEND_SMS_ENABLED === true- const hasValidMFAPhoneProvider =- authConfig?.EXTERNAL_PHONE_ENABLED === true &&- (authConfig?.SMS_PROVIDER === 'twilio' || authConfig?.SMS_PROVIDER === 'vonage')+ const hasValidMFAPhoneProvider = authConfig?.EXTERNAL_PHONE_ENABLED === trueconst hasValidMFAProvider = hasValidMFAPhoneProvider || sendSMSHookIsEnabledconst phoneMFAIsEnabled =INITIAL_VALUES.MFA_PHONE === 'Enabled' || INITIAL_VALUES.MFA_PHONE === 'Verify Enabled'@@ -329,8 +327,7 @@ const AdvancedAuthSettingsForm = () => {<Alert_Shadcn_ variant="warning"><WarningIcon /><AlertTitle_Shadcn_>- Please configure a valid phone provider. Only Twilio, Vonage, and Send SMS- Hooks are supported at this time.+ To use MFA with Phone you should set up a Phone provider or Send SMS Hook.</AlertTitle_Shadcn_></Alert_Shadcn_>)}