securis/src/main/webapp/src/app/login.form.component.ts
.. .. @@ -25,7 +25,9 @@ 25 25 26 26 public login() { 27 27 this.userService.login(this.data.username, this.data.password).subscribe( 28 - token => this.router.navigateByUrl("packs"),28 + token => {29 + this.router.navigateByUrl("packs");30 + },29 31 errMsg => this.toaster.error(errMsg, 'Login error')); 30 32 } 31 33