[PR #5633] fix: allow admins to send verification emails to unverified users #14375

Open
opened 2026-04-13 09:26:40 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5633

State: open
Merged: No


Fixes: #5621


Summary by cubic

Let admins send verification emails to other users who are not yet verified. Non-admins can only send to their own unverified email.

  • New Features
    • Require admin plugin and user:update permission to send on behalf of others.
    • Lookup target user by email; return status true if not found to avoid information leaks.
    • Block sending when the target email is already verified.

Written for commit b34a98d1f0. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5633 **State:** open **Merged:** No --- Fixes: #5621 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Let admins send verification emails to other users who are not yet verified. Non-admins can only send to their own unverified email. - **New Features** - Require admin plugin and user:update permission to send on behalf of others. - Lookup target user by email; return status true if not found to avoid information leaks. - Block sending when the target email is already verified. <sup>Written for commit b34a98d1f0bdacf006481a5abf41d4cb9a9d884e. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:26:40 -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#14375