aleph
aleph copied to clipboard
BUG: If maintenance mode is enabled, UI sends requests in infinite loop
Describe the bug If maintenance mode is enabled, the UI sends requests to fetch data about the current user in an infinite loop.
To Reproduce Steps to reproduce the behavior:
- Set
ALEPH_MAINTENANCE_MODE=true - Open the UI in your browser and login
- Observe network/XHR requests in your browser dev tools
Expected behavior Data about the current user should be fetched once, as it is done when maintenance mode is disabled.
Aleph version 3.15.5, 3.15.7, 4.0.0-rc*
Screenshots
https://github.com/user-attachments/assets/e5f11ddd-5d0d-4040-9d21-0f7a6e13f65d
Additional context -/-