mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add IP exception
This commit is contained in:
parent
618743ea1a
commit
8a5621396b
@ -138,6 +138,11 @@ class AccountRepository
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Checkout.com
|
||||||
|
if ($ip == '80.227.4.234') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$count = Account::whereIp($ip)->whereHas('users', function ($query) {
|
$count = Account::whereIp($ip)->whereHas('users', function ($query) {
|
||||||
$query->whereRegistered(true);
|
$query->whereRegistered(true);
|
||||||
})->count();
|
})->count();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user