mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for tests
This commit is contained in:
parent
0edfc0d850
commit
de853b3445
@ -109,6 +109,7 @@ class LoginController extends BaseController
|
||||
|
||||
if ($this->attemptLogin($request)) {
|
||||
LightLogs::create(new LoginSuccess())
|
||||
->increment()
|
||||
->batch();
|
||||
|
||||
LightLogs::create(new LoginMeta($request->email, $request->ip, 'success'))
|
||||
@ -163,7 +164,6 @@ class LoginController extends BaseController
|
||||
->batch();
|
||||
|
||||
LightLogs::create(new LoginMeta($request->email, $request->ip, 'failure'))
|
||||
->increment()
|
||||
->batch();
|
||||
|
||||
$this->incrementLoginAttempts($request);
|
||||
|
Loading…
x
Reference in New Issue
Block a user