Skip to content

Commit 23fb1ed

Browse files
authored
Merge pull request #3207 from Laravel-Backpack/fix-password-broker
Fix recover password in Laravel 8
2 parents 113e85f + 365f973 commit 23fb1ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/app/Library/Auth/PasswordBroker.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Backpack\CRUD\app\Library\Auth;
44

55
use Backpack\CRUD\app\Notifications\ResetPasswordNotification;
6+
use Closure;
67
use Illuminate\Auth\Passwords\PasswordBroker as OriginalPasswordBroker;
78

89
/**
@@ -17,7 +18,7 @@ class PasswordBroker extends OriginalPasswordBroker
1718
* @param array $credentials
1819
* @return string
1920
*/
20-
public function sendResetLink(array $credentials)
21+
public function sendResetLink(array $credentials, Closure $callback = null)
2122
{
2223
// First we will check to see if we found a user at the given credentials and
2324
// if we did not we will redirect back to this current URI with a piece of

0 commit comments

Comments
 (0)