Bruno Charest 2469026c1d fix: login endpoint - request variable shadowing Starlette Request
The login() function used 'request: LoginRequest' which shadowed
FastAPI's Starlette Request object. Request.client was accessed on
the LoginRequest Pydantic model instead of the HTTP request, causing
AttributeError: 'LoginRequest' object has no attribute 'client'.

Fix: rename the Pydantic parameter to 'body' and add explicit
'request: Request' for IP extraction and rate limiting.
2026-05-27 21:16:11 -04:00
..
2026-03-21 09:52:44 -04:00