[PR #8392] [MERGED] fix: add origin check middleware to password reset request #16191

Closed
opened 2026-04-13 10:25:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8392
Author: @jslno
Created: 3/4/2026
Status: Merged
Merged: 3/11/2026
Merged by: @himself65

Base: canaryHead: 03-04-2026/request-password-reset-origin-check


📝 Commits (6)

  • 013f732 fix: add origin check middleware to password reset request
  • 078247d chore: add test
  • 441c239 chore: fix linting
  • ccdb123 trigger ci
  • 3933dad Merge branch 'canary' into 03-04-2026/request-password-reset-origin-check
  • 9040d1d Merge branch 'canary' into 03-04-2026/request-password-reset-origin-check

📊 Changes

2 files changed (+21 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/api/routes/password.test.ts (+20 -0)
📝 packages/better-auth/src/api/routes/password.ts (+1 -0)

📄 Description

No description provided


🔄 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/8392 **Author:** [@jslno](https://github.com/jslno) **Created:** 3/4/2026 **Status:** ✅ Merged **Merged:** 3/11/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `03-04-2026/request-password-reset-origin-check` --- ### 📝 Commits (6) - [`013f732`](https://github.com/better-auth/better-auth/commit/013f732e59b95b140786309572d6310a15283f25) fix: add origin check middleware to password reset request - [`078247d`](https://github.com/better-auth/better-auth/commit/078247d3a3e124059374a81ef7b67a213c4e77c1) chore: add test - [`441c239`](https://github.com/better-auth/better-auth/commit/441c23969f01ee9235327ebcbf759bef2de8df48) chore: fix linting - [`ccdb123`](https://github.com/better-auth/better-auth/commit/ccdb123ee4bd9a73087cf19caed89d41bbecec96) trigger ci - [`3933dad`](https://github.com/better-auth/better-auth/commit/3933dade9a39482a96986ae2aca4c30195e530ba) Merge branch 'canary' into 03-04-2026/request-password-reset-origin-check - [`9040d1d`](https://github.com/better-auth/better-auth/commit/9040d1d8ebcc0c9ce2231073e79871653ba16c94) Merge branch 'canary' into 03-04-2026/request-password-reset-origin-check ### 📊 Changes **2 files changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/password.test.ts` (+20 -0) 📝 `packages/better-auth/src/api/routes/password.ts` (+1 -0) </details> ### 📄 Description _No description provided_ --- <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-13 10:25:59 -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#16191