update mock data
This commit is contained in:
@@ -107,7 +107,7 @@ export const mfaLoginProviders: Array<UserTwoFactorProviderModel> = [
|
||||
},
|
||||
{
|
||||
isEnabledOnUser: false,
|
||||
providerName: 'SMS',
|
||||
providerName: 'sms',
|
||||
},
|
||||
{
|
||||
isEnabledOnUser: true,
|
||||
|
||||
@@ -83,7 +83,10 @@ export const manifestDevelopmentHandler = rest.get(umbracoPath('/package/manifes
|
||||
type: 'mfaLoginProvider',
|
||||
alias: 'My.MfaLoginProvider.Custom',
|
||||
name: 'My Custom MFA Provider',
|
||||
forProviderNames: ['email', 'sms'],
|
||||
forProviderName: 'sms',
|
||||
meta: {
|
||||
label: 'Setup SMS Verification',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -28,7 +28,7 @@ export const handlers = [
|
||||
ctx.status(200),
|
||||
ctx.json({
|
||||
$type: 'TwoFactorAuthInfo',
|
||||
qrCodeSetupImageUrl: 'https://placehold.co/200x200',
|
||||
qrCodeSetupImageUrl: 'https://placehold.co/200x200?text=QR+Code+here',
|
||||
secret: '8b713fc7-8f17-4f5d-b2ac-b53879c75953',
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user