[PR #3050] [CLOSED] feat: use db for email change verification tokens #12871

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3050
Author: @Kinfe123
Created: 6/16/2025
Status: Closed

Base: mainHead: feat/use-db-for-verification-instead-of-jwt


📝 Commits (10+)

📊 Changes

6 files changed (+172 additions, -58 deletions)

View changed files

📝 packages/better-auth/src/adapters/kysely-adapter/test/state.txt (+1 -1)
📝 packages/better-auth/src/api/routes/email-verification.ts (+48 -51)
📝 packages/better-auth/src/api/routes/sign-up.ts (+22 -0)
📝 packages/better-auth/src/api/routes/update-user.test.ts (+89 -0)
📝 packages/better-auth/src/api/routes/update-user.ts (+11 -6)
📝 packages/better-auth/src/db/internal-adapter.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/3050 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 6/16/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/use-db-for-verification-instead-of-jwt` --- ### 📝 Commits (10+) - [`7c89233`](https://github.com/better-auth/better-auth/commit/7c8923374f2b1e7a37a5929b11aa633a21614c43) feat: use db for verification instead of jwts - [`d07aea3`](https://github.com/better-auth/better-auth/commit/d07aea329470c28df519b584c56f8b12f5de3623) test and clean up - [`e21997f`](https://github.com/better-auth/better-auth/commit/e21997f940f13392c4cf2329c2fb53aea7ffbfa8) lint - [`21d78f7`](https://github.com/better-auth/better-auth/commit/21d78f775a40e75bd7e1fe17bed45d65948b0e0d) clean up - [`cdc98ec`](https://github.com/better-auth/better-auth/commit/cdc98ec5d5fbf24d0de4331de81782ca5842b3eb) clean up - [`0bc49a2`](https://github.com/better-auth/better-auth/commit/0bc49a28d6941d361c28c8ebbc9c4a386e8c654c) tests and clean up - [`b2dfe2a`](https://github.com/better-auth/better-auth/commit/b2dfe2a2479d43295d55b1094e5706830f4f3462) lint - [`0a5676b`](https://github.com/better-auth/better-auth/commit/0a5676b0d24b24624ff7a5cbcf0c46b7ff6259c7) update snapshot - [`e835336`](https://github.com/better-auth/better-auth/commit/e835336ec8a655d00eab536a8077f89785a0ec2e) email change token only for db - [`528217a`](https://github.com/better-auth/better-auth/commit/528217a36e12621b131f381db8a190c032c9618d) lint:fix ### 📊 Changes **6 files changed** (+172 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/adapters/kysely-adapter/test/state.txt` (+1 -1) 📝 `packages/better-auth/src/api/routes/email-verification.ts` (+48 -51) 📝 `packages/better-auth/src/api/routes/sign-up.ts` (+22 -0) 📝 `packages/better-auth/src/api/routes/update-user.test.ts` (+89 -0) 📝 `packages/better-auth/src/api/routes/update-user.ts` (+11 -6) 📝 `packages/better-auth/src/db/internal-adapter.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 08:38:47 -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#12871