We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6f564f commit a1d6bffCopy full SHA for a1d6bff
src/Traits/Actionable.php
@@ -91,7 +91,7 @@ private static function insertActionMonitoring(mixed $model, string $actionType)
91
private static function getRealIP(): string
92
{
93
return config('user-monitoring.use_reverse_proxy_ip')
94
- ? request()->header(config('user-monitoring.real_ip_header')) ?: request()->ip()
+ ? request()->header(config('user-monitoring.real_ip_header'))
95
: request()->ip();
96
}
97
0 commit comments