diff --git a/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php b/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php index 26535ca7ded..069b7ececad 100644 --- a/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php +++ b/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php @@ -68,7 +68,7 @@ function (CanResetPassword $user, string $token): void { throw new Exception("Model [{$userClass}] does not have a [notify()] method."); } - $notification = new ResetPasswordNotification($token); + $notification = app(ResetPasswordNotification::class, ['token' => $token]); $notification->url = Filament::getResetPasswordUrl($token, $user); $user->notify($notification);