fix(admin/smtp): add label for smtp authentication

This commit is contained in:
haitao(lj) 2022-12-08 15:18:04 +08:00
parent 5209813685
commit 50133f5fe3
2 changed files with 4 additions and 2 deletions

View File

@ -1185,7 +1185,8 @@ ui:
text: Provide email address that will receive test sends.
msg: Test email recipients is invalid
smtp_authentication:
label: SMTP Authentication
label: Enable authentication
title: SMTP Authentication
msg: SMTP authentication cannot be empty.
"yes": "Yes"
"no": "No"

View File

@ -46,7 +46,8 @@ const Smtp: FC = () => {
},
smtp_authentication: {
type: 'boolean',
title: t('smtp_authentication.label'),
title: t('smtp_authentication.title'),
label: t('smtp_authentication.label'),
enum: [true, false],
enumNames: [t('smtp_authentication.yes'), t('smtp_authentication.no')],
},