1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-18 11:05:41 +01:00

Explain how to verify email for Sends

This commit is contained in:
Thomas Rittson 2021-05-12 13:35:18 +10:00
parent c590a94511
commit a591c4d457
2 changed files with 15 additions and 0 deletions

View File

@ -1718,5 +1718,11 @@
},
"passwordConfirmationDesc": {
"message": "This action is protected. To continue, please re-enter your master password to verify your identity."
},
"emailVerificationRequired": {
"message": "Email Verification Required"
},
"emailVerificationRequiredDesc": {
"message": "You must verify your email to use this feature. You can verify your email in the web vault."
}
}

View File

@ -192,6 +192,15 @@ export default class RuntimeBackground {
case 'reloadPopup':
this.messagingService.send('reloadPopup');
break;
case 'emailVerificationRequired':
this.messagingService.send('showDialog', {
dialogId: 'emailVerificationRequired',
title: this.i18nService.t('emailVerificationRequired'),
text: this.i18nService.t('emailVerificationRequiredDesc'),
confirmText: this.i18nService.t('ok'),
type: 'info',
});
break;
default:
break;
}