mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Add IP exception
This commit is contained in:
parent
618743ea1a
commit
8a5621396b
@ -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…
Reference in New Issue
Block a user