template增加password的passport

This commit is contained in:
lxy 2024-08-29 11:47:58 +08:00
parent 9f770b0cd4
commit a50b3768af
1 changed files with 11 additions and 4 deletions

View File

@ -170,6 +170,7 @@ export const domain: Domain[] = [
];
const DEV_SMS_PASSPORT_ID = 'SMS_DEV';
const DEV_PASSWORD_PASSPORT_ID = 'PASSWORD_DEV'
const applicationPassport: ApplicationPassport[] = [
{
@ -183,11 +184,17 @@ const applicationPassport: ApplicationPassport[] = [
const passport: Passport[] = [
{
id: DEV_SMS_PASSPORT_ID,
type:'sms',
config:{
mockSend:true,
type: 'sms',
config: {
mockSend: true,
},
enabled:true,
enabled: true,
systemId: DEV_SYSTEM_ID,
},
{
id: DEV_PASSWORD_PASSPORT_ID,
type: 'password',
enabled: false,
systemId: DEV_SYSTEM_ID,
},
];