diff --git a/src/app/Library/Auth/PasswordBroker.php b/src/app/Library/Auth/PasswordBroker.php index 0edcd1b885..e063c14539 100644 --- a/src/app/Library/Auth/PasswordBroker.php +++ b/src/app/Library/Auth/PasswordBroker.php @@ -3,6 +3,7 @@ namespace Backpack\CRUD\app\Library\Auth; use Backpack\CRUD\app\Notifications\ResetPasswordNotification; +use Closure; use Illuminate\Auth\Passwords\PasswordBroker as OriginalPasswordBroker; /** @@ -17,7 +18,7 @@ class PasswordBroker extends OriginalPasswordBroker * @param array $credentials * @return string */ - public function sendResetLink(array $credentials) + public function sendResetLink(array $credentials, Closure $callback = null) { // First we will check to see if we found a user at the given credentials and // if we did not we will redirect back to this current URI with a piece of