milenmk/laravel-email-change-confirmation
Laravel package for confirming user email address changes. Adds a verification flow (often via signed link/token), protects accounts by requiring confirmation before updating the email, and integrates cleanly with common auth setups in Laravel apps.
email_verified_at wasn't being properly reset to null during email
change confirmationMustVerifyEmailredirect_after_confirm - Where to redirect after confirming email changeredirect_after_deny - Where to redirect after denying email changeredirect_after_cancel - Where to redirect after canceling pending changeCleanupExpiredEmailChanges job to mark expired pending requests as deniedemail-change:cleanup-expired Artisan command with --queue optionauto_cleanup_expired and cleanup_schedulegetConfiguredRedirect() - Uses configured redirect routesgetCancelRedirect() - Specific redirect logic for cancel operationsgetSuccessRedirect() - Enhanced with configurable route supportemail_verified_at mass assignment errors that occurred when this field wasn't
included in User model's $fillable array by using direct attribute assignment with saveQuietly()- Authentication
Issues: Added proper web middleware to cancel-pending routes to fix 403 errorsdenied instead of expired statusupdateQuietly() for confirmed email changes and email_verified_at resets (prevents issues when these fields are
not in User model's $fillable array)How can I help you explore Laravel packages today?