Skip to content

[FE-141] register/login pages have no visible client-side handling for the backend's auth-specific throttle #1376

Description

@mftee

Overview

app/(auth)/login/page.tsx and register/page.tsx — the backend applies @Throttle({ auth: { limit: 10, ttl: 60_000 } }) on AuthController. No test coverage confirms the frontend shows a clear, specific message (e.g. "too many attempts, try again in N seconds") when it receives a 429, as opposed to a generic error.

Tasks

  • Add explicit handling for a 429 response on login/register with a clear, specific message.
  • Add a test for this case.

Acceptance Criteria

  • A rate-limited login/register attempt shows a specific, accurate message rather than a generic error.

Notes for Contributors

Comment below to be assigned.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions