diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index e8680172b2..5e1c791026 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -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." } } diff --git a/src/background/runtime.background.ts b/src/background/runtime.background.ts index 81549215ee..55341140a5 100644 --- a/src/background/runtime.background.ts +++ b/src/background/runtime.background.ts @@ -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; }