aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/login
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/login')
-rw-r--r--client/src/app/login/login.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts
index 768594ac4..bcfa021fa 100644
--- a/client/src/app/login/login.component.ts
+++ b/client/src/app/login/login.component.ts
@@ -1,5 +1,5 @@
1import { Component } from '@angular/core'; 1import { Component } from '@angular/core';
2import { Router } from '@angular/router-deprecated'; 2import { Router } from '@angular/router';
3 3
4import { AuthService, AuthStatus, User } from '../shared'; 4import { AuthService, AuthStatus, User } from '../shared';
5 5
@@ -26,7 +26,7 @@ export class LoginComponent {
26 26
27 this.authService.setStatus(AuthStatus.LoggedIn); 27 this.authService.setStatus(AuthStatus.LoggedIn);
28 28
29 this.router.navigate(['VideosList']); 29 this.router.navigate(['/videos/list']);
30 }, 30 },
31 error => { 31 error => {
32 if (error.error === 'invalid_grant') { 32 if (error.error === 'invalid_grant') {