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

pass email param on login/register

This commit is contained in:
Kyle Spearrin
2018-07-13 10:44:47 -04:00
parent 6db55bbae8
commit b3bd13fe2b
2 changed files with 10 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ export class RegisterComponent {
await this.formPromise;
this.analytics.eventTrack.next({ action: 'Registered' });
this.toasterService.popAsync('success', null, this.i18nService.t('newAccountCreated'));
this.router.navigate([this.successRoute]);
this.router.navigate([this.successRoute], { queryParams: { email: this.email } });
} catch { }
}