captiveportal_disconnect_client() function
-
Hi,
I made an automatic logout php page. If the popup page is manually closed, the user will be disconnected, but when I use the captiveportal_disconnect_client () function and after the user re-opens the browser, browser web address does not redirect to the captive portal page. why ?
i used to the pfsense 2.2.6 version.
-
Don't worry, that error was repaired. That's why new versions come / came out.
So, you have a choice : upgrade if you don't want to repair the captive portal_disconnect_client () function yourself ^^ (btw : easy PHP code - you could even look into github to see what was edited when and why so the error was cleared).
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.