[PR #558] [CLOSED] Error when trying to do a migration with a custom user modelName and the 2fa plugin #3363

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/558
Author: @Limerio
Created: 11/16/2024
Status: Closed

Base: mainHead: fix-2fa-migration-error


📝 Commits (2)

  • e84d3fb chore: add userTable option when someone update the user table name in his config
  • 70581a3 chore: update the 2fa documentation page

📊 Changes

3 files changed (+20 additions, -10 deletions)

View changed files

📝 docs/content/docs/plugins/2fa.mdx (+2 -0)
📝 packages/better-auth/src/plugins/two-factor/index.ts (+12 -9)
📝 packages/better-auth/src/plugins/two-factor/types.ts (+6 -1)

📄 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/558 **Author:** [@Limerio](https://github.com/Limerio) **Created:** 11/16/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-2fa-migration-error` --- ### 📝 Commits (2) - [`e84d3fb`](https://github.com/better-auth/better-auth/commit/e84d3fb362a47a6fe8462d1bf945f6eb47d9a668) chore: add userTable option when someone update the user table name in his config - [`70581a3`](https://github.com/better-auth/better-auth/commit/70581a30cb2387378078a828d42b7fc083b3ebc9) chore: update the 2fa documentation page ### 📊 Changes **3 files changed** (+20 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/2fa.mdx` (+2 -0) 📝 `packages/better-auth/src/plugins/two-factor/index.ts` (+12 -9) 📝 `packages/better-auth/src/plugins/two-factor/types.ts` (+6 -1) </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 10:51:14 -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#3363