Project

General

Profile

Actions

User Story #544

open

Feature #533: Authentication Hum Rahi

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

User Story HR-FE-03: Resend OTP Timer & Logic

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 a countdown timer for the "Resend OTP" button, so that I know exactly when I can request a new code.

  • In-Scope: * 60-second countdown timer.
    • Disabled/Enabled toggle for the Resend button.
  • Out-of-Scope: The backend logic for sending the actual WhatsApp message (covered in Epic 1).
  • Acceptance Criteria (AC):
    • AC1: Timer starts at 59s upon page load.
    • AC2: Button is disabled while timer > 0.
    • AC3: Button becomes clickable and text changes to "Resend OTP" at 0s.
    • AC4: Clicking "Resend" resets the timer to 59s.
  • Definition of Done (DoD): Timer persists during tab switching; Resend triggers a new API request.

No data to display

Actions

Also available in: Atom PDF