diff --git a/src/service/network-service.js b/src/service/network-service.js index 49cb35e..e7f049c 100644 --- a/src/service/network-service.js +++ b/src/service/network-service.js @@ -8,12 +8,11 @@ export class NetworkService { if (status === 500) { logMsgWithSentry(endpoint, status, resp); } else if (status === 403) { - console.error('endpoint: ', endpoint, status); - /*storeSet('token', ''); + storeSet('token', ''); const { pathname } = window.location; if (!['/login', '/registration', '/loginadmin', '/reset-password-admin', '/confidi', '/reset-password'].includes(pathname)) { window.location.replace('/login'); - }*/ + } } }