Skip to content

Commit

Permalink
Use fully qualified auth paths for rate limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
anticorrelator committed Sep 20, 2024
1 parent 5586a0c commit b3ae7a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/phoenix/server/api/routers/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
login_rate_limiter = fastapi_ip_rate_limiter(
rate_limiter,
paths=[
"/login",
"/logout",
"/refresh",
"/password-reset-email",
"/password-reset",
"/auth/login",
"/auth/logout",
"/auth/refresh",
"/auth/password-reset-email",
"/auth/password-reset",
],
)
router = APIRouter(
Expand Down

0 comments on commit b3ae7a4

Please sign in to comment.