From 15bb173e4eeb04e30554e48861d06b24dbcedda1 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 21 Mar 2017 21:11:06 +0100 Subject: [PATCH] Better not found handling, logout really annoying --- src/Squidex/app/shared/services/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Squidex/app/shared/services/auth.service.ts b/src/Squidex/app/shared/services/auth.service.ts index b695550c5..37c51848d 100644 --- a/src/Squidex/app/shared/services/auth.service.ts +++ b/src/Squidex/app/shared/services/auth.service.ts @@ -205,7 +205,7 @@ export class AuthService { } }) .catch((error: Response) => { - if (error.status === 401 || error.status === 404) { + if (error.status === 401) { this.logoutRedirect(); return Observable.empty();