R13 · 🟠 Medium · bug

Missing centre cookie produces unscoped queries

What the code does

centerId swallows NoCookieError and returns ''.

Where

app/services/auth.js

Suggested fix

Suggestion

Redirect to centre selection when no centre is available.

Affected features