diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-31 22:15:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-31 22:15:22 +0000 |
commit | 407a29ca29e9eb9b5edbf11e5206d9b3a7d2648e (patch) | |
tree | 631e16ecb54ab5cc23e21d3f939974b57c6f50cc /etc/inc | |
parent | 16ee67062a29b4dcd11e29ed464e800923ece232 (diff) | |
download | pfsense-407a29ca29e9eb9b5edbf11e5206d9b3a7d2648e.zip pfsense-407a29ca29e9eb9b5edbf11e5206d9b3a7d2648e.tar.gz |
Change to a pfsense page which includes a username and password
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 7998f0f..948a4f2 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -84,7 +84,17 @@ function captiveportal_configure() { </head> <body> <h2>pfSense captive portal</h2> -<p>This is the default captive portal page. Please upload your own custom HTML file on the <em>Services: Captive portal</em> screen in the pfSense webConfigurator.</p> +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$"> +<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 colspan="2"> + <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$"> + <input name="accept" type="submit" value="Continue"> + </td></tr> +</table> +</form> <form method="post" action="\$PORTAL_ACTION\$"> <input name="accept" type="submit" value="Continue"> <input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$"> |