$PORTAL_MESSAGE$ doesn't appear to be working
-
Hi,
I’m currently trying to create a custom authentication error page.
I have uploaded a modified error.html file which is basically just a refresh to a php page passing $PORTAL_MESSAGE$ as a parameter
At the moment my php page, captiveportal-loginerror.php contains the following
On the URL of the redirected page I see portal_redirurl parameter but there is nothing for the error parameter
Do I have to enable something to be able to access this information?
Regards
Nick
-
What authentication method are you using for the captive portal?
afaik, $PORTAL_MESSAGE$ only works if authenticating against a radius server, not local authenticaton, but I havent tested this myself.
Slam
-
Slam,
yes sorry should of mentioned that we are authenticating against freeradius.
Regards
Nick
-
Hi,
ive tinkered with this some more and it appears it does work after all though so far ive only managed to get back a message when the radius server was down.
Are there any plans to extend the range of messages? It would be nice for instance to know why the login failed, ie bad credentials, expired account or to many simultaneous logins for exmple.
Regards
Nick