diff options
author | Ermal <eri@pfsense.org> | 2011-03-25 22:04:26 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-25 22:04:26 +0000 |
commit | 3e404e0c6d1cf65bd95d3fbc5e4eedb38ee1feef (patch) | |
tree | 4fb59d0a3dfe266b15cab56a5e9de21452e7bb9b /etc | |
parent | 351b699013fb120fa78f7df17fe636f49c1285b8 (diff) | |
download | pfsense-3e404e0c6d1cf65bd95d3fbc5e4eedb38ee1feef.zip pfsense-3e404e0c6d1cf65bd95d3fbc5e4eedb38ee1feef.tar.gz |
Make the two default page codes similar in regarding to redirurl in hope that when one voucher login succeeds it redirects to the url submmitted.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 6d71a42..625695c 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -57,6 +57,7 @@ function get_default_captive_portal_html() { <html> <body> <form method="post" action="\$PORTAL_ACTION\$"> + <input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$"> <center> <table cellpadding="6" cellspacing="0" width="550" height="380" style="border:1px solid #000000"> <tr height="10" bgcolor="#990000"> @@ -94,7 +95,6 @@ function get_default_captive_portal_html() { <div id='loginbox'> Enter Voucher Code: <input name="auth_voucher" type="text" style="border:1px dashed;" size="22"> - <input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$"> <input name="accept" type="submit" value="Continue"> </div> </center> |