Skip to content

Commit a1d6bff

Browse files
committed
Update Actionable.php
1 parent a6f564f commit a1d6bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Actionable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private static function insertActionMonitoring(mixed $model, string $actionType)
9191
private static function getRealIP(): string
9292
{
9393
return config('user-monitoring.use_reverse_proxy_ip')
94-
? request()->header(config('user-monitoring.real_ip_header')) ?: request()->ip()
94+
? request()->header(config('user-monitoring.real_ip_header'))
9595
: request()->ip();
9696
}
9797
}

0 commit comments

Comments
 (0)