Merge pull request #1829 from bitwarden/send-verify-email-modal

Explain how to verify email for Sends
This commit is contained in:
Thomas Rittson 2021-05-13 08:15:57 +10:00 committed by GitHub
commit 9434eb7dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}