change login path
This commit is contained in:
parent
0de41a2ce8
commit
441e09a12f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user