1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Require user to verify email to use file Send

This commit is contained in:
Thomas Rittson
2021-04-07 12:47:50 +10:00
parent 9ff6b4242c
commit bc543de307
3 changed files with 18 additions and 2 deletions

View File

@@ -217,6 +217,15 @@ export class AppComponent implements OnInit {
this.openModal<PremiumComponent>(PremiumComponent, this.premiumRef);
}
break;
case 'emailVerificationRequired':
const emailVerificationConfirmed = await this.platformUtilsService.showDialog(
this.i18nService.t('emailVerificationRequiredDesc'),
this.i18nService.t('emailVerificationRequired'),
this.i18nService.t('learnMore'), this.i18nService.t('cancel'));
if (emailVerificationConfirmed) {
this.platformUtilsService.launchUri('https://bitwarden.com/help/article/create-bitwarden-account/');
}
break;
case 'syncVault':
try {
await this.syncService.fullSync(true, true);