mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed typo
This commit is contained in:
parent
3fb5f6f5be
commit
aa6c21f38d
|
@ -35,7 +35,7 @@ class LogFailedLogin
|
||||||
'user_agent' => request()->header('User-Agent'),
|
'user_agent' => request()->header('User-Agent'),
|
||||||
'remote_ip' => request()->ip(),
|
'remote_ip' => request()->ip(),
|
||||||
'successful' => 0,
|
'successful' => 0,
|
||||||
'created_at' => $now;
|
'created_at' => $now,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|
|
@ -37,7 +37,7 @@ class LogSuccessfulLogin
|
||||||
'user_agent' => request()->header('User-Agent'),
|
'user_agent' => request()->header('User-Agent'),
|
||||||
'remote_ip' => request()->ip(),
|
'remote_ip' => request()->ip(),
|
||||||
'successful' => 1,
|
'successful' => 1,
|
||||||
'created_at' => $now
|
'created_at' => $now,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|
Loading…
Reference in a new issue