aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/auth/auth.service.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-04 11:54:05 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-04 11:54:36 +0100
commitc0a89c46efbec1a01a014fe6e9dfe32f30d5cac3 (patch)
tree4852177b2b95e436e11cce06bc37ed7f40adac76 /client/src/app/shared/auth/auth.service.ts
parent371fa0933a43379bc546b4a5586271a79aefa915 (diff)
downloadPeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.tar.gz
PeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.tar.zst
PeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.zip
Client: fix handle refresh token
Diffstat (limited to 'client/src/app/shared/auth/auth.service.ts')
-rw-r--r--client/src/app/shared/auth/auth.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/auth/auth.service.ts b/client/src/app/shared/auth/auth.service.ts
index a30c79c86..b7e0a44a7 100644
--- a/client/src/app/shared/auth/auth.service.ts
+++ b/client/src/app/shared/auth/auth.service.ts
@@ -159,8 +159,8 @@ export class AuthService {
159 this.router.navigate(['/login']); 159 this.router.navigate(['/login']);
160 160
161 return Observable.throw({ 161 return Observable.throw({
162 json: '', 162 json: () => '',
163 text: 'You need to reconnect.' 163 text: () => 'You need to reconnect.'
164 }); 164 });
165 } 165 }
166 166