[PR #2521] [MERGED] fix(admin): Pass ctx to user create db hook #4353

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2521
Author: @ping-maxwell
Created: 5/3/2025
Status: Merged
Merged: 7/19/2025
Merged by: @Bekacru

Base: mainHead: fix/admin/create-user-context


📝 Commits (1)

  • 823a298 fix(admin): Pass ctx to user create db hook

📊 Changes

1 file changed (+12 additions, -9 deletions)

View changed files

📝 packages/better-auth/src/plugins/admin/admin.ts (+12 -9)

📄 Description

Additional info:
https://discord.com/channels/1288403910284935179/1367774652063158342/1367935130911637525


🔄 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/2521 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 5/3/2025 **Status:** ✅ Merged **Merged:** 7/19/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/admin/create-user-context` --- ### 📝 Commits (1) - [`823a298`](https://github.com/better-auth/better-auth/commit/823a2980b4a6f9a0a3d682e69077d5472d6aaddb) fix(admin): Pass `ctx` to user create db hook ### 📊 Changes **1 file changed** (+12 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/admin.ts` (+12 -9) </details> ### 📄 Description Additional info: https://discord.com/channels/1288403910284935179/1367774652063158342/1367935130911637525 --- <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:42:42 -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#4353