change login path

This commit is contained in:
Łukasz Góreczny 2020-12-21 13:40:11 +01:00
parent 0de41a2ce8
commit 441e09a12f

View File

@ -35,7 +35,7 @@ export class SignInComponent implements OnDestroy {
this.signInFormGroup.get('signIn').value['username'], this.signInFormGroup.get('signIn').value['username'],
this.signInFormGroup.get('signIn').value['password']).subscribe( this.signInFormGroup.get('signIn').value['password']).subscribe(
(success) => { (success) => {
this.router.navigate(['player']); this.router.navigate(['select-character']);
}, },
(error: ErrorResponse | HttpErrorResponse) => { (error: ErrorResponse | HttpErrorResponse) => {
if (error instanceof HttpErrorResponse) { if (error instanceof HttpErrorResponse) {