Login with only a password ? / Excluding a website of the CP ?
I'm new to this whole captive portal thing and I have a question regarding the login page.
Ive setted pfSense in a hotel and I would like people to only have to enter a password in a field instead of the username / password.
Ive tried to set the username field in my login page hidden with the default value of the only username setted but it's not working…
Here is my code :
<form method="post" action="$PORTAL_ACTION$">
Can someoen tell me what i’m doing wrong ?
I would also like to excluse some site of the captive portal, like they can browse the hotel website even if they don’t have the password (there is 2-3 hotels around mine and they might catch the wireless signal, so they would be able to browse my hotel website for next time they’re in town) Is that possible ?
Thanks a lot,
That should work. Check your system logs to see if the authentication is failing.
To allow websites, use the Allowed IP addresses page.
In your code, you can remove "Username:" from there so it doesn't show up on the page at all.
<form method="post" action="$PORTAL_ACTION$"> Password : </form>
Yeah I know it should work, but it doesn't.
I'm always redirected to the error page. Ill try to check the logs and post them here.