[PR #2386] [CLOSED] fix(reset-password): remove status: true & throw not user found error #4291

Closed
opened 2026-03-13 11:40:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2386
Author: @ssynowiec
Created: 4/21/2025
Status: Closed

Base: mainHead: fix/reset_password


📝 Commits (1)

  • dbaa6dd chore(reset-password): remove status: true & throw not user found error

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 packages/better-auth/src/api/routes/forget-password.ts (+3 -3)

📄 Description

I added throw new APIError for user not found.

And remove status: true I think it's not intended


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2386 **Author:** [@ssynowiec](https://github.com/ssynowiec) **Created:** 4/21/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/reset_password` --- ### 📝 Commits (1) - [`dbaa6dd`](https://github.com/better-auth/better-auth/commit/dbaa6dd4b4b3e14f01fc210e85679957a6d77717) chore(reset-password): remove status: true & throw not user found error ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/forget-password.ts` (+3 -3) </details> ### 📄 Description I added throw new APIError for user not found. And remove `status: true` I think it's not intended --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:40:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4291