[PR #1022] [CLOSED] fix(email-otp): it shouldn't send email if user doesn't exist on forget password #20493

Closed
opened 2026-04-15 19:44:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1022
Author: @Bekacru
Created: 12/26/2024
Status: Closed

Base: mainHead: fix/email-otp


📝 Commits (1)

  • 9ac4902 fix(email-otp): apply user configration for expiresIn properly

📊 Changes

2 files changed (+49 additions, -6 deletions)

View changed files

📝 packages/better-auth/src/plugins/email-otp/email-otp.test.ts (+39 -0)
📝 packages/better-auth/src/plugins/email-otp/index.ts (+10 -6)

📄 Description

closes #1014


🔄 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/1022 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 12/26/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/email-otp` --- ### 📝 Commits (1) - [`9ac4902`](https://github.com/better-auth/better-auth/commit/9ac49025e111325661b5af07d79cb083f15eb9fe) fix(email-otp): apply user configration for expiresIn properly ### 📊 Changes **2 files changed** (+49 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/email-otp/email-otp.test.ts` (+39 -0) 📝 `packages/better-auth/src/plugins/email-otp/index.ts` (+10 -6) </details> ### 📄 Description closes #1014 --- <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-04-15 19:44:04 -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#20493