Description
Wrong login or password in dev mode causes 502 error (bad gateway), while backend sends 401.
Frontend log: fetch failed: Error: expected non-null body source
Steps to Reproduce
- Try to wrong login
- Frontend failed with error: 'api offline'
Expected Behavior
Expected toast or popup window with error: 'Invalid username or password.'
Actual Behavior
Frontend failed with error: 'api offline'
Environment
- Windows 11
- Docker desktop 4.70.0
Logs / Screenshots
Description
Wrong login or password in dev mode causes 502 error (bad gateway), while backend sends 401.
Frontend log: fetch failed: Error: expected non-null body source
Steps to Reproduce
Expected Behavior
Expected toast or popup window with error: 'Invalid username or password.'
Actual Behavior
Frontend failed with error: 'api offline'
Environment
Logs / Screenshots