[PR #964] [MERGED] fix: email OTP during signup fails to send when email verification is required #3565

Closed
opened 2026-03-13 10:58:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/964
Author: @Bekacru
Created: 12/20/2024
Status: Merged
Merged: 12/20/2024
Merged by: @Bekacru

Base: mainHead: fix/email-otp


📝 Commits (1)

  • a170aa8 fix: email-otp on signup breaking when emailVerification is requried

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/email-otp/email-otp.test.ts (+1 -1)
📝 packages/better-auth/src/plugins/email-otp/index.ts (+13 -5)

📄 Description

closes #954


🔄 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/964 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 12/20/2024 **Status:** ✅ Merged **Merged:** 12/20/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/email-otp` --- ### 📝 Commits (1) - [`a170aa8`](https://github.com/better-auth/better-auth/commit/a170aa84bfa864cefeac8a2d1976b86eb53004d4) fix: email-otp on signup breaking when emailVerification is requried ### 📊 Changes **2 files changed** (+14 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/email-otp/email-otp.test.ts` (+1 -1) 📝 `packages/better-auth/src/plugins/email-otp/index.ts` (+13 -5) </details> ### 📄 Description closes #954 --- <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 10:58:39 -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#3565