[PR #1204] [MERGED] feat: support stroring dispaly username to store un-normalized username #3686

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1204
Author: @Bekacru
Created: 1/13/2025
Status: Merged
Merged: 2/14/2025
Merged by: @Bekacru

Base: v1.2Head: feat/username


📝 Commits (3)

  • 7c114b9 feat: support stroring dispaly username to store un-normalized username
  • 34d99e3 Merge branch 'v1.2' into feat/username
  • e2a223b test: update snapshot

📊 Changes

7 files changed (+28 additions, -5 deletions)

View changed files

📝 packages/better-auth/src/plugins/username/index.ts (+14 -1)
📝 packages/better-auth/src/plugins/username/schema.ts (+4 -0)
📝 packages/better-auth/src/plugins/username/username.test.ts (+5 -3)
📝 packages/cli/test/__snapshots__/auth-schema.txt (+2 -1)
📝 packages/cli/test/__snapshots__/schema-mongodb.prisma (+1 -0)
📝 packages/cli/test/__snapshots__/schema-mysql.prisma (+1 -0)
📝 packages/cli/test/__snapshots__/schema.prisma (+1 -0)

📄 Description

closes #721


🔄 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/1204 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 1/13/2025 **Status:** ✅ Merged **Merged:** 2/14/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `v1.2` ← **Head:** `feat/username` --- ### 📝 Commits (3) - [`7c114b9`](https://github.com/better-auth/better-auth/commit/7c114b95ddabbbd29af90be707c747c163e660ee) feat: support stroring dispaly username to store un-normalized username - [`34d99e3`](https://github.com/better-auth/better-auth/commit/34d99e326ce3f56d37deb987810fba86d08187f2) Merge branch 'v1.2' into feat/username - [`e2a223b`](https://github.com/better-auth/better-auth/commit/e2a223b882af2a692d6b7d0d62b4d4612814fce0) test: update snapshot ### 📊 Changes **7 files changed** (+28 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/username/index.ts` (+14 -1) 📝 `packages/better-auth/src/plugins/username/schema.ts` (+4 -0) 📝 `packages/better-auth/src/plugins/username/username.test.ts` (+5 -3) 📝 `packages/cli/test/__snapshots__/auth-schema.txt` (+2 -1) 📝 `packages/cli/test/__snapshots__/schema-mongodb.prisma` (+1 -0) 📝 `packages/cli/test/__snapshots__/schema-mysql.prisma` (+1 -0) 📝 `packages/cli/test/__snapshots__/schema.prisma` (+1 -0) </details> ### 📄 Description closes #721 --- <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:05:13 -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#3686