[PR #1978] [MERGED] feat: have-i-been-pwned plugin #12346

Closed
opened 2026-04-13 08:20:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1978
Author: @moshetanzer
Created: 3/24/2025
Status: Merged
Merged: 4/11/2025
Merged by: @Bekacru

Base: mainHead: feat/haveibeenpwned


📝 Commits (10+)

  • 15f467d feat: add have i been pwned first draft plugin
  • 83c053d fix: remove error being thrown when no password or body
  • e033198 fix: return the ctx and ctx body check
  • bfa07dc feat: add custom message option
  • fa52386 feat: add first draft docs for plugin
  • f7390e2 fix: import in docs
  • 3a81ee1 fix: big typo
  • bf7561c fix: typo
  • 6160659 fix: typo and correct error message
  • e8b55eb fix: typo and options optional

📊 Changes

7 files changed (+209 additions, -1 deletions)

View changed files

📝 docs/components/sidebar-content.tsx (+6 -1)
docs/content/docs/plugins/have-i-been-pwned.mdx (+46 -0)
📝 packages/better-auth/build.config.ts (+1 -0)
📝 packages/better-auth/package.json (+13 -0)
packages/better-auth/src/plugins/haveibeenpwned/haveibeenpwned.test.ts (+65 -0)
packages/better-auth/src/plugins/haveibeenpwned/index.ts (+77 -0)
📝 packages/better-auth/src/plugins/index.ts (+1 -0)

📄 Description

Hey @Bekacru,

Thanks for your great work.

Here is a have-i-been-pwned plugin.


🔄 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/1978 **Author:** [@moshetanzer](https://github.com/moshetanzer) **Created:** 3/24/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `feat/haveibeenpwned` --- ### 📝 Commits (10+) - [`15f467d`](https://github.com/better-auth/better-auth/commit/15f467d7b5df11f10526a7c7d3086d0c268352bb) feat: add have i been pwned first draft plugin - [`83c053d`](https://github.com/better-auth/better-auth/commit/83c053d82652cc00fc1216eb893193f200496d31) fix: remove error being thrown when no password or body - [`e033198`](https://github.com/better-auth/better-auth/commit/e0331984c2f00a1c5318f0a77d652a8365443a2a) fix: return the ctx and ctx body check - [`bfa07dc`](https://github.com/better-auth/better-auth/commit/bfa07dc80b7a7226814f749841d6aa8d93d9e5f4) feat: add custom message option - [`fa52386`](https://github.com/better-auth/better-auth/commit/fa5238630a34c6290356afa6a05f878d781fc03c) feat: add first draft docs for plugin - [`f7390e2`](https://github.com/better-auth/better-auth/commit/f7390e2daadfcd4ad7aea5b104d51c95dfbb8e75) fix: import in docs - [`3a81ee1`](https://github.com/better-auth/better-auth/commit/3a81ee1cabeae7da89beea7c821083ad90b47985) fix: big typo - [`bf7561c`](https://github.com/better-auth/better-auth/commit/bf7561cce4e7594bcc5cd046fd5ef35a80285317) fix: typo - [`6160659`](https://github.com/better-auth/better-auth/commit/616065936fcb6df6ea0fe1b6882dd87a381143d3) fix: typo and correct error message - [`e8b55eb`](https://github.com/better-auth/better-auth/commit/e8b55eb213ce75dfed16da90aff1d6f6dda95387) fix: typo and options optional ### 📊 Changes **7 files changed** (+209 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/sidebar-content.tsx` (+6 -1) ➕ `docs/content/docs/plugins/have-i-been-pwned.mdx` (+46 -0) 📝 `packages/better-auth/build.config.ts` (+1 -0) 📝 `packages/better-auth/package.json` (+13 -0) ➕ `packages/better-auth/src/plugins/haveibeenpwned/haveibeenpwned.test.ts` (+65 -0) ➕ `packages/better-auth/src/plugins/haveibeenpwned/index.ts` (+77 -0) 📝 `packages/better-auth/src/plugins/index.ts` (+1 -0) </details> ### 📄 Description Hey @Bekacru, Thanks for your great work. Here is a have-i-been-pwned plugin. --- <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 08:20: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#12346