diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-21 01:19:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-21 01:19:54 +0000 |
commit | a515d275016f55ebe2467c8892ff1a45bfa6d1a8 (patch) | |
tree | 5ad469c499b310cad0b83ddf352d5ea248f9a978 /etc | |
parent | d66bb68a233d2b3db6b6399dd9b7ac5e4f7fb5c4 (diff) | |
download | pfsense-a515d275016f55ebe2467c8892ff1a45bfa6d1a8.zip pfsense-a515d275016f55ebe2467c8892ff1a45bfa6d1a8.tar.gz |
While here, cleanup default captive portal page quite a bit.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 75ae209..c475a07 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -83,18 +83,21 @@ function captiveportal_configure() { <title>pfSense captive portal</title> </head> <body> +<center> <h2>pfSense captive portal</h2> Welcome to the pfSense Captive Portal! This is the default page since a custom page has not been defined. -<form method="post" action="$PORTAL_ACTION$"> +<form method="post" action="\$PORTAL_ACTION\$"> +<input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$"> <table> <tr><td>Username:</td><td><input name="auth_user" type="text"></td></tr> <tr><td>Password:</td><td><input name="auth_pass" type="password"></td></tr> + <tr><td> </td></tr> <tr><td colspan="2"> - <form method="post" action="\$PORTAL_ACTION\$"> <input name="accept" type="submit" value="Continue"> - <input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$"> + </td></tr> </table> +</center> </form> </body> </html> |