mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(api): use the Cloudflare client IP for allowed IPs and audit logs
Closes #12301 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0f0a1e920d
commit
80ce0efe7e
@@ -51,7 +51,7 @@ trait ThrottlesManualWebhookFailures
|
||||
/**
|
||||
* The connection address of the client. X-Forwarded-For is ignored, since
|
||||
* any client can set it and rotate it to get a new bucket. On cloud, a
|
||||
* valid CF-Connecting-IP is used, as in auth_rate_limit_ip().
|
||||
* valid CF-Connecting-IP is used.
|
||||
*/
|
||||
protected function manualWebhookFailureClientAddress(Request $request): string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user