The trait Illuminate\Foundation\Auth\AuthenticatesUsers requires some properties which are not provided by Ikechukwukalu\Requirepin...ThrottleRequestsService: $redirectTo, $decayMinutes
Loading history...
10
11
public $maxAttempts = 5; // change to the max attempt you want.
12
public $delayMinutes = 1;
13
14
public function __construct(int $maxAttempts = 5, int $delayMinutes = 1)
15
{
16
$this->maxAttempts = $maxAttempts;
17
$this->delayMinutes = $delayMinutes;
18
}
19
20
public function hasTooManyAttempts (Request $request)
21
{
22
return $this->hasTooManyLoginAttempts($request);
23
}
24
25
public function incrementAttempts (Request $request)
Are you sure the usage of $this->incrementLoginAttempts($request) targeting Ikechukwukalu\Requirepin...ncrementLoginAttempts() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.
Are you sure the usage of $this->clearLoginAttempts($request) targeting Ikechukwukalu\Requirepin...e::clearLoginAttempts() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.