Add IP exception
This commit is contained in:
parent
618743ea1a
commit
8a5621396b
1 changed files with 5 additions and 0 deletions
|
|
@ -138,6 +138,11 @@ class AccountRepository
|
|||
return;
|
||||
}
|
||||
|
||||
// Checkout.com
|
||||
if ($ip == '80.227.4.234') {
|
||||
return;
|
||||
}
|
||||
|
||||
$count = Account::whereIp($ip)->whereHas('users', function ($query) {
|
||||
$query->whereRegistered(true);
|
||||
})->count();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue