Skip to content

Commit

Permalink
chore: update IpAddressResolver.php (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnpjames authored Mar 10, 2023
1 parent e0fd3ea commit 1c908dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolvers/IpAddressResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class IpAddressResolver implements Resolver
{
public static function resolve(Auditable $auditable): string
{
return Request::ip();
return Request::header('x-forwarded-for', Request::ip());
}
}

0 comments on commit 1c908dc

Please sign in to comment.