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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user