[PR #6433] [MERGED] docs: add warnings about awaiting emails #32266

Closed
opened 2026-04-17 23:06:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6433
Author: @Bekacru
Created: 11/30/2025
Status: Merged
Merged: 11/30/2025
Merged by: @Bekacru

Base: canaryHead: docs/email-awaits


📝 Commits (1)

  • cde4873 docs: add warnings about awaiting emails

📊 Changes

5 files changed (+34 additions, -9 deletions)

View changed files

📝 docs/content/blogs/1-4.mdx (+1 -1)
📝 docs/content/docs/authentication/email-password.mdx (+12 -2)
📝 docs/content/docs/concepts/email.mdx (+13 -3)
📝 docs/content/docs/concepts/users-accounts.mdx (+7 -2)
📝 packages/better-auth/src/plugins/organization/types.ts (+1 -1)

📄 Description

Summary by cubic

Add warnings and update docs to avoid awaiting email sends in verification, reset-password, and change-email flows. This reduces timing attack risk and keeps requests fast; examples now use void sendEmail and recommend waitUntil on serverless, and the organization invitation sample no longer awaits the email send.

Written for commit cde4873223. Summary will update automatically on new commits.


🔄 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/6433 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/30/2025 **Status:** ✅ Merged **Merged:** 11/30/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/email-awaits` --- ### 📝 Commits (1) - [`cde4873`](https://github.com/better-auth/better-auth/commit/cde4873223d87e69ba2ef201a7649b3da4dd2c6e) docs: add warnings about awaiting emails ### 📊 Changes **5 files changed** (+34 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/blogs/1-4.mdx` (+1 -1) 📝 `docs/content/docs/authentication/email-password.mdx` (+12 -2) 📝 `docs/content/docs/concepts/email.mdx` (+13 -3) 📝 `docs/content/docs/concepts/users-accounts.mdx` (+7 -2) 📝 `packages/better-auth/src/plugins/organization/types.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add warnings and update docs to avoid awaiting email sends in verification, reset-password, and change-email flows. This reduces timing attack risk and keeps requests fast; examples now use void sendEmail and recommend waitUntil on serverless, and the organization invitation sample no longer awaits the email send. <sup>Written for commit cde4873223d87e69ba2ef201a7649b3da4dd2c6e. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <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-17 23:06:24 -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#32266