aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/app/users/login/login.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-27 17:49:18 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-27 17:49:18 +0200
commit4fd8aa327004b27530fd96bdde5df60e6745a1f6 (patch)
treee3b21282c641d50ea62e227c6ce3e7e740fec860 /client/app/users/login/login.component.ts
parentccf6ed16f1eeb05b77103bd44bc06ccbbbba9bdd (diff)
downloadPeerTube-4fd8aa327004b27530fd96bdde5df60e6745a1f6.tar.gz
PeerTube-4fd8aa327004b27530fd96bdde5df60e6745a1f6.tar.zst
PeerTube-4fd8aa327004b27530fd96bdde5df60e6745a1f6.zip
Alphabetical
Diffstat (limited to 'client/app/users/login/login.component.ts')
-rw-r--r--client/app/users/login/login.component.ts5
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
12export class UserLoginComponent { 12export 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(