1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

Require user to verify email to use file Send (#915)

* Require user to verify email to use file Send

* bump jslib
This commit is contained in:
Thomas Rittson
2021-04-10 02:19:16 +10:00
committed by GitHub
parent f6e8c7152e
commit aba98ba944
4 changed files with 19 additions and 3 deletions

View File

@@ -139,6 +139,15 @@ export class AppComponent implements OnDestroy, OnInit {
this.router.navigate(['settings/premium']);
}
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 'showToast':
this.showToast(message);
break;