From c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 4 Nov 2016 11:54:05 +0100 Subject: Client: fix handle refresh token --- client/src/app/shared/auth/auth.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared/auth/auth.service.ts') 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 { this.router.navigate(['/login']); return Observable.throw({ - json: '', - text: 'You need to reconnect.' + json: () => '', + text: () => 'You need to reconnect.' }); } -- cgit v1.2.3