diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-04 11:54:05 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-04 11:54:36 +0100 |
commit | c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3 (patch) | |
tree | 4852177b2b95e436e11cce06bc37ed7f40adac76 /client/src/app/shared/auth | |
parent | 371fa0933a43379bc546b4a5586271a79aefa915 (diff) | |
download | PeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.tar.gz PeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.tar.zst PeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.zip |
Client: fix handle refresh token
Diffstat (limited to 'client/src/app/shared/auth')
-rw-r--r-- | client/src/app/shared/auth/auth.service.ts | 4 |
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 | ||