Skip to content

Commit e43948b

Browse files
authored
Merge pull request #178 from VortixDev/patch-1
Fix of incorrect comparison
2 parents 9e611dc + 41e5ac4 commit e43948b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Auth/ActivateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function activationRequired()
107107
->where('created_at', '>=', Carbon::now()->subHours(config('settings.timePeriod')))
108108
->count();
109109

110-
if ($activationsCount > config('settings.timePeriod')) {
110+
if ($activationsCount > config('settings.maxAttempts')) {
111111
Log::info('Exceded max resends in last '.config('settings.timePeriod').' hours. '.$currentRoute.'. ', [$user]);
112112

113113
$data = [

0 commit comments

Comments
 (0)