diff --git a/app/Ninja/Repositories/AccountRepository.php b/app/Ninja/Repositories/AccountRepository.php index d84004a032..191a9573e9 100644 --- a/app/Ninja/Repositories/AccountRepository.php +++ b/app/Ninja/Repositories/AccountRepository.php @@ -130,7 +130,7 @@ class AccountRepository { $ip = Request::getClientIp(); $count = Account::whereIp($ip)->whereHas('users', function ($query) { - $query->whereConfirmed(true); + $query->whereRegistered(true); })->count(); if ($count > 1 && $errorEmail = env('ERROR_EMAIL')) {