diff --git a/src/components/appRouter.js b/src/components/appRouter.js index 7be3f652b..28cf91ef1 100644 --- a/src/components/appRouter.js +++ b/src/components/appRouter.js @@ -425,11 +425,7 @@ class AppRouter { onRequestFail(e, data) { const apiClient = this; - // 401 means the credentials are broken - if (data.status === 401) { - console.debug('Invalid stored credentials, redirecting to login'); - appRouter.showLocalLogin(apiClient.serverId()); - } else if (data.status === 403) { + if (data.status === 403) { if (data.errorCode === 'ParentalControl') { const isCurrentAllowed = appRouter.currentRouteInfo ? (appRouter.currentRouteInfo.route.anonymous || appRouter.currentRouteInfo.route.startup) : true;