Don't jump out of the frame
-
How can I make the webgui to stay inside a frame? If I include it to be a part of a management console, which is actually a framed setup, after login, pfSense's webgui jumps out of the frame.
Any idea how to disable this? -
It does that on purpose as a security measure. Though if you really want to do it, it can be changed.
/usr/local/www/csrf/csrf-magic.php: * Set this to false if your site must work inside of frame/iframe elements,
/usr/local/www/csrf/csrf-magic.php:$GLOBALS['csrf']['frame-breaker'] = true; -
Thanks. I'll take the risk, as the web interface is only accessible on a private LAN and through VPN.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.