0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(console): remove inspire me phone as identifier options (#4370)

This commit is contained in:
Darcy Ye 2023-08-17 17:11:39 +08:00 committed by GitHub
parent 83022a27b4
commit 1b75f7bb10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = (