diff options
Diffstat (limited to 'client/app/users/login/login.component.ts')
-rw-r--r-- | client/app/users/login/login.component.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/app/users/login/login.component.ts b/client/app/users/login/login.component.ts index 8e369541d..09c5f1af7 100644 --- a/client/app/users/login/login.component.ts +++ b/client/app/users/login/login.component.ts | |||
@@ -10,7 +10,10 @@ import { AuthService, AuthStatus, User } from '../shared/index'; | |||
10 | }) | 10 | }) |
11 | 11 | ||
12 | export class UserLoginComponent { | 12 | export class UserLoginComponent { |
13 | constructor(private authService: AuthService, private router: Router) {} | 13 | constructor( |
14 | private authService: AuthService, | ||
15 | private router: Router | ||
16 | ) {} | ||
14 | 17 | ||
15 | login(username: string, password: string) { | 18 | login(username: string, password: string) { |
16 | this.authService.login(username, password).subscribe( | 19 | this.authService.login(username, password).subscribe( |