From d982bef3c5dada1cf1c1dc058e410e587b326980 Mon Sep 17 00:00:00 2001 From: martin-mfg <2026226+martin-mfg@users.noreply.github.com> Date: Thu, 8 Jan 2026 18:57:49 +0100 Subject: [PATCH] Revert "fix problem on simultaneous login" This reverts commit 23ba727b9ae8e3253a289a8f6be58d39f75faae9. --- frontend/frontend/src/api/user.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/frontend/src/api/user.js b/frontend/frontend/src/api/user.js index 87baf7d8..1d336535 100644 --- a/frontend/frontend/src/api/user.js +++ b/frontend/frontend/src/api/user.js @@ -1,7 +1,6 @@ import axios from 'axios'; import { HOST } from '../constants'; -import { logout } from '../redux/actions/userActions'; const authenticate = async (code, privateAccess, userKey) => { try { @@ -27,9 +26,6 @@ const getUserMetadata = async (userKey) => { const result = await axios.get(fullUrl); return result.data; } catch (error) { - if (error.response && error.response.status === 404) { - logout(userKey); - } console.error(error); return null; }