cyberpanel
cyberpanel copied to clipboard
Fix "Session reuse detected, IPAddress logged."
After updating Cyberpanel, when the app is served behind Cloudflare, it is common to encounter the following logging message: "Session reuse detected, IPAddress logged."
The solution is to retrieve the 'True-Client-IP' from the request headers and use it if present.