From 1b75f7bb107e0e9e1661b39fc41c577f170d32d6 Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Thu, 17 Aug 2023 17:11:39 +0800 Subject: [PATCH] fix(console): remove inspire me phone as identifier options (#4370) --- .../SignInExperience/sie-config-templates.ts | 30 ++----------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/packages/console/src/onboarding/pages/SignInExperience/sie-config-templates.ts b/packages/console/src/onboarding/pages/SignInExperience/sie-config-templates.ts index 05816ff6c..cbc1d6eff 100644 --- a/packages/console/src/onboarding/pages/SignInExperience/sie-config-templates.ts +++ b/packages/console/src/onboarding/pages/SignInExperience/sie-config-templates.ts @@ -20,63 +20,39 @@ const configTemplate1: OnboardingSieConfig = { }; const configTemplate2: OnboardingSieConfig = { - logo: `${assetsUrl}/kvCN1Z2a/logo2.png`, - color: '#F47346', - identifier: SignInIdentifier.Phone, - authentications: [Authentication.Password, Authentication.VerificationCode], -}; - -const configTemplate3: OnboardingSieConfig = { logo: `${assetsUrl}/IcI0snBP/logo3.png`, color: '#FF5449', identifier: SignInIdentifier.Username, authentications: [Authentication.Password], }; -const configTemplate4: OnboardingSieConfig = { +const configTemplate3: OnboardingSieConfig = { logo: `${assetsUrl}/7UQyvuFc/logo4.png`, color: '#CA4E96', identifier: SignInIdentifier.Email, authentications: [Authentication.Password], }; -const configTemplate5: OnboardingSieConfig = { +const configTemplate4: OnboardingSieConfig = { logo: `${assetsUrl}/zB2merH1/logo5.png`, color: '#F07EFF', identifier: SignInIdentifier.Email, authentications: [Authentication.VerificationCode], }; -const configTemplate6: OnboardingSieConfig = { - logo: `${assetsUrl}/CX51jxXS/logo6.png`, - color: '#9E65F8', - identifier: SignInIdentifier.Phone, - authentications: [Authentication.VerificationCode], -}; - -const configTemplate7: OnboardingSieConfig = { +const configTemplate5: OnboardingSieConfig = { logo: `${assetsUrl}/uLoMzrlz/logo7.png`, color: '#FF5449', identifier: SignInIdentifier.Email, authentications: [Authentication.Password, Authentication.VerificationCode], }; -const configTemplate8: OnboardingSieConfig = { - logo: `${assetsUrl}/dIz8UHEh/logo8.png`, - color: '#5D34F2', - identifier: SignInIdentifier.Phone, - authentications: [Authentication.VerificationCode], -}; - const sieConfigTemplates: OnboardingSieConfig[] = [ configTemplate1, configTemplate2, configTemplate3, configTemplate4, configTemplate5, - configTemplate6, - configTemplate7, - configTemplate8, ]; export const randomSieConfigTemplate = (