1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

Merge pull request #819 from bitwarden/fix-sso-premium-error

Fix Premium Required message after sso auth
This commit is contained in:
Thomas Rittson 2021-04-01 06:46:00 +10:00 committed by GitHub
commit bb0d449a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,6 +208,7 @@ export class AppComponent implements OnInit {
break; break;
case 'ssoCallback': case 'ssoCallback':
this.router.navigate(['sso'], { queryParams: { code: message.code, state: message.state } }); this.router.navigate(['sso'], { queryParams: { code: message.code, state: message.state } });
break;
case 'premiumRequired': case 'premiumRequired':
const premiumConfirmed = await this.platformUtilsService.showDialog( const premiumConfirmed = await this.platformUtilsService.showDialog(
this.i18nService.t('premiumRequiredDesc'), this.i18nService.t('premiumRequired'), this.i18nService.t('premiumRequiredDesc'), this.i18nService.t('premiumRequired'),