Skip to content

"Forgot?" password link on Sign In page has no handler — password reset flow is dead #290

Description

@Kingvic300

Description

The "Forgot?" link next to the password field on the live Sign In page (frontend/src/features/SignInPage.tsx:383-388) is a <button type="button"> with no onClick handler at all — not even a toast. Meanwhile frontend/src/services/api.ts already has fully-implemented, ready-to-use client methods for this exact flow:

  • forgotPassword(email) → POST /auth/forgot-password (api.ts:769-779)
  • resetPassword(email, otp, newPassword) → POST /auth/reset-password (api.ts:781-795)

A repo-wide search confirms forgotPassword/resetPassword are never called from any component — the API client support exists but there is zero UI wired to it.

Verified

// frontend/src/features/SignInPage.tsx:383-388
<button
    type="button"
    className="text-[10px] font-bold text-electric-violet"
>
    Forgot?
</button>

grep -rn "forgotPassword\|resetPassword" frontend/src returns only the definitions in services/api.ts — no call sites anywhere in the UI.

Suggested fix

Wire the button to open a "forgot password" step (email entry → call apiService.forgotPassword(email) → OTP + new password entry → apiService.resetPassword(...)), similar to the existing OTP UI pattern already in the codebase.

Note

Related to #11 in this batch — the backend's forgot-password/OTP flow is fully implemented server-side but has no working frontend entry point end-to-end.

Timeframe

Claim window: 96 hours. If this issue is claimed/assigned, please submit a fix within 96 hours of assignment — after that window it may be released back up for grabs.

Community

Questions about this issue or the campaign? Join https://t.me/txioCommunity

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Third CampaignCampaign: Third CampaignbugSomething isn't workingpriority:highShould be next

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions