Improved user confirmation #70

This commit is contained in:
Sven Heidemann 2022-10-25 08:31:08 +02:00
parent 811e9991d0
commit bf2a412dec

View File

@ -59,6 +59,7 @@ export class RegistrationComponent implements OnInit {
} }
ngOnInit(): void { ngOnInit(): void {
this.confirmEMail();
this.initData(); this.initData();
this.spinnerService.showSpinner(); this.spinnerService.showSpinner();
this.route.queryParams.pipe(catchError(err => { this.route.queryParams.pipe(catchError(err => {
@ -108,7 +109,6 @@ export class RegistrationComponent implements OnInit {
initData() { initData() {
this.initLoginForm(); this.initLoginForm();
this.resetStateFlags(); this.resetStateFlags();
this.confirmEMail();
this.spinnerService.hideSpinner(); this.spinnerService.hideSpinner();
} }