Skip to content

Commit

Permalink
updated logging for account events
Browse files Browse the repository at this point in the history
  • Loading branch information
MelonSmasher committed Dec 12, 2017
1 parent 44c3740 commit 9ea7d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Events/Api/Authentication/AuthenticationFailure.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class AuthenticationFailure extends Event
public function __construct(Request $request)
{

$logMessage = $request->ip . ' failed to authenticated with the API - ';
$logMessage = \Request::ip() . ' failed to authenticated with the API - ';
$logContext = [
'requester_ip' => $request->ip,
'requester_ip' => \Request::ip(),
'request' => $request->toArray()
];

Expand Down

0 comments on commit 9ea7d57

Please sign in to comment.