[PR #2046] [MERGED] feat(phone-number): add number of attempts configuration #4133

Closed
opened 2026-03-13 11:33:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: feat/phone-number-attempts


📝 Commits (2)

  • 7508ed3 fix(organization): update default invitation expiration time to use seconds
  • ef2c3c7 feat(phone-number): add attempts check

📊 Changes

4 files changed (+82 additions, -2 deletions)

View changed files

📝 docs/content/docs/plugins/phone-number.mdx (+30 -0)
📝 packages/better-auth/src/plugins/organization/adapter.ts (+2 -1)
📝 packages/better-auth/src/plugins/phone-number/index.ts (+26 -1)
📝 packages/better-auth/src/plugins/phone-number/phone-number.test.ts (+24 -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/2046 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 3/29/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `feat/phone-number-attempts` --- ### 📝 Commits (2) - [`7508ed3`](https://github.com/better-auth/better-auth/commit/7508ed3f07914ea2129a1c1ccab98cf11d318868) fix(organization): update default invitation expiration time to use seconds - [`ef2c3c7`](https://github.com/better-auth/better-auth/commit/ef2c3c7cc63caf535d8d27bab3f77de541f33b52) feat(phone-number): add attempts check ### 📊 Changes **4 files changed** (+82 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/phone-number.mdx` (+30 -0) 📝 `packages/better-auth/src/plugins/organization/adapter.ts` (+2 -1) 📝 `packages/better-auth/src/plugins/phone-number/index.ts` (+26 -1) 📝 `packages/better-auth/src/plugins/phone-number/phone-number.test.ts` (+24 -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-03-13 11:33:44 -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#4133