Good Day
When using the Captive Portal feature and vouchers. The user can simply click continue without putting in a voucher code. The user then gets internet access without even using a voucher. Which results in the voucher feature being useless.
So for example. You can have username and password but leave the voucher field blank.
Im not sure now if this is a bug. Because if you want to use only vouchers you can change your page to have just the voucher field and hide the rest. Keeping local authentication enabled.
So for example;
<html>
<form method="post" action="$PORTAL_ACTION$"> <input name="auth_user" type="hidden"> <input name="auth_pass" type="hidden"> Voucher:<input name="auth_voucher" type="text"> <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$"> <input name="accept" type="submit" value="Continue"> </form>
</html>
So i guess its up to the admin to decide if they want to use only usernames and passwords, or vouchers. But you cant run both, which the more i think about it the more it makes sense because why would you want to run all 3.
|