How do I disable csrf-magic? - Printable Version +- THT Community (https://thehostingtool.com/forum) +-- Forum: THT Support (https://thehostingtool.com/forum/forum-7.html) +--- Forum: THT General Support (https://thehostingtool.com/forum/forum-8.html) +---- Forum: Tutorials and FAQs (https://thehostingtool.com/forum/forum-12.html) +---- Thread: How do I disable csrf-magic? (/thread-2044.html) |
How do I disable csrf-magic? - stgeorge - 10-11-2012 This has been a constant pain in various different servers I have been THT Admin on. How do I disable includes/csrf-magic.php ? It keeps giving False Warnings: Quote:Possible CSRF attack detected. Please make sure cookies are enabled.They are enabled. See: http://thehostingtool.com/forum/thread-1754-post-11249.html#pid11249 http://thehostingtool.com/forum/thread-2043.html I need to be able to disable it while I complete some tasks, then re-enable it again. Many thanks in anticipation of a solution! THT Version: THT v1.3.5 Server's Operating System: CentOS 5 Control Panel Type: Kloxo RE: How do I disable csrf-magic? - ReworkedScripts - 10-18-2012 In includes/compiler.php: FIND: PHP Code: require_once("csrf-magic.php"); CHANGE IT TO: PHP Code: //require_once("csrf-magic.php"); RE: How do I disable csrf-magic? - stgeorge - 10-18-2012 @LightworkerNaven Thanks |