diff --git a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts index fbf2f1186..6321dcb2c 100644 --- a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts +++ b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts @@ -19,6 +19,7 @@ import { takeUntil } from 'rxjs/operators'; }) export class ShowAccessTokenDialog { @ViewChild(MatStepper) stepper!: MatStepper; + public accessToken: string; public authToken: string; public isCreateAccountButtonDisabled = true; @@ -32,15 +33,11 @@ export class ShowAccessTokenDialog { private dataService: DataService ) {} - public onChangeDislaimerChecked() { - this.isDisclaimerChecked = !this.isDisclaimerChecked; - } - public enableCreateAccountButton() { this.isCreateAccountButtonDisabled = false; } - public async createAccount() { + public createAccount() { this.dataService .postUser() .pipe(takeUntil(this.unsubscribeSubject)) @@ -54,4 +51,8 @@ export class ShowAccessTokenDialog { this.changeDetectorRef.markForCheck(); }); } + + public onChangeDislaimerChecked() { + this.isDisclaimerChecked = !this.isDisclaimerChecked; + } } diff --git a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html index 4cb15ad08..737d32679 100644 --- a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html +++ b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html @@ -9,8 +9,8 @@ Terms and Conditions
- - Please keep your security token safe. If you lose it, you will not be + Please keep your security token safe. If you lose it, you will not be able to recover your account.
@@ -48,7 +48,7 @@ and keep it in a safe place. - + Security Token