Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam-Raghuwanshi committed Feb 11, 2025
1 parent cfcd785 commit f807ba6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/volto/src/helpers/Api/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ class Api {
url: err.response.headers.location,
});
}
if (response.status === 401) {
window.location.href = '/login';
}
return err ? reject(err) : resolve(response.body || response.text);
});
});
Expand Down

0 comments on commit f807ba6

Please sign in to comment.