Skip to content

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

fix: change matches logic so that it excludes twilio-verify as matching twilio

[email protected]0e90b7794e9c
diff --git a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
index e7fa9d42caf..f16e86c7217 100644
--- a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
+++ b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
@@ -123,7 +123,7 @@ const PROVIDER_PHONE = {
title: 'Twilio Account Sid',
show: {
key: 'SMS_PROVIDER',
- matches: 'twilio-verify',
+ matches: ['twilio-verify'],
},
},
SMS_TWILIO_VERIFY_AUTH_TOKEN: {
@@ -132,7 +132,7 @@ const PROVIDER_PHONE = {
isSecret: true,
show: {
key: 'SMS_PROVIDER',
- matches: 'twilio-verify',
+ matches: ['twilio-verify'],
},
},
SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID: {
@@ -140,7 +140,7 @@ const PROVIDER_PHONE = {
title: 'Twilio Message Service Sid',
show: {
key: 'SMS_PROVIDER',
- matches: 'twilio-verify',
+ matches: ['twilio-verify'],
},
},