Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/Library/Auth/PasswordBroker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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
Expand Down