Project

General

Profile

Actions

User Story #543

open

Feature #533: Authentication Hum Rahi

EPIC #539: Epic: User Authentication - OTP Verification & Security

User Story HR-FE-02: Security Alert & Lockout UI Handling

Added by Islam Mansoori about 1 month ago.

Status:
To Do
Priority:
low
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Role: Front-End User Story Story: As a User, I want to be notified when my account is locked, so that I understand why I cannot attempt further entries.

  • In-Scope: * Displaying the Security Alert box (Shield icon).
    • Handling 429 error responses from the backend to show the lockout message.
  • Out-of-Scope: Backend counting logic.
  • Acceptance Criteria (AC):
    • AC1: Display the "5 failed attempts" warning as per the HTML design.
    • AC2: If the backend returns a 429 error, disable the "Verify" button and show the specific lockout error message.
  • Error Messages: Match backend: "Account locked... Try again in 30 minutes."
  • Definition of Done (DoD): UI matches design; Error state handled gracefully without page crash.

No data to display

Actions

Also available in: Atom PDF