1
0
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:
Hillel Coren 2019-12-15 14:33:46 +02:00
parent 618743ea1a
commit 8a5621396b

View File

@ -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();