Captive portal with Demo button option
-
Hi, Sorry if this quetstion is already asked. I have a query, I have a captive portal page which takes username and password and authenticate with Radiusdesk. I also want to integrate an option where I place a button in bottom called "Demo" which passes hidden username "demo" and password "demo" which users would not see but only a demo button and in Radius I create that username and password.
My current index page is.
<center>
Welcome to Raptor Internet Service
</center>
<center>
The Raptor Internet Service provides Wireless Internet access.
</center>
<center>![Wifi](captiveportal-img.jpg<br />)</center>
<center>
<form action="$PORTAL_ACTION$" method="post"> Username <br.<br>Password</br.<br></form>
</center>
<center>
Speed Upto 8Mbps ( Rs:400/month )
Three devices can use same ID
To purchase contact: 0334-xxxx3
</center>
-
…. and the question is ?
-
Could anyone integrate it in above code for me? I will be so thankful.
-
Could anyone integrate it in above code for me? I will be so thankful.
This means the code has to be changed, not only settings.
Check out this forum : https://forum.pfsense.org/index.php?board=34.0 -
I just need button html code which passes hidden username and password. Or is there other option to bypass users for 1hrs. I know the pass thoruh credit option but does not want other users to login with their credentials after every hour.
-
Thanks. Got thinkgs working. I modified and pasted following.