MichaelP Posted May 19, 2023 Share Posted May 19, 2023 Hey! I'm getting an error where if I have cloudflare proxying my domain. I get an "invalid CSRF Protection Token," error. Is there anyway to fix this? I searched around and couldn't find a whole ton. Any response is appreciated! Thanks! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 1, 2023 WHMCS Support Manager Share Posted June 1, 2023 Hi @MichaelP, This indicates that the visitor's IP address is not being forwarded to PHP by your webserver. You can resolve this at the application level by configuring the Trusted Proxy Settings. For more information, please see: https://help.whmcs.com/m/troubleshooting/l/678268-troubleshooting-login-problems#proxy-or-cdn 0 Quote Link to comment Share on other sites More sharing options...
Dkuzik Posted June 11, 2023 Share Posted June 11, 2023 There is a module and hook developed by Dylan Hansch its free. Adds cloudflare trusted ips to trusted proxy settings automatically 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.