From f5fa7d5eb5d6db797a0cccdcf2e0f7bf97dd53eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sun, 4 Jan 2009 23:11:57 +0000 Subject: Reactivate the peruser bandwidth limit on captive portal. This brings it ala par with features with the same version in m0n0. --- usr/local/www/services_captiveportal.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'usr') diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index e68bd4f..c4345e5 100755 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -222,9 +222,9 @@ function enable_change(enable_change) { document.iform.radiuskey.disabled = radius_endis; document.iform.radiuskey2.disabled = radius_endis; document.iform.radacct_enable.disabled = radius_endis; - //document.iform.peruserbw.disabled = endis; - //document.iform.bwdefaultdn.disabled = endis; - //document.iform.bwdefaultup.disabled = endis; + document.iform.peruserbw.disabled = endis; + document.iform.bwdefaultdn.disabled = endis; + document.iform.bwdefaultup.disabled = endis; document.iform.reauthenticate.disabled = radius_endis; document.iform.auth_method[0].disabled = endis; document.iform.auth_method[1].disabled = endis; @@ -349,8 +349,6 @@ to access after they've authenticated. This is required when the MAC address of the client cannot be determined (usually because there are routers between and the clients). If this is enabled, RADIUS MAC authentication cannot be used. - Per-user bandwidth restriction @@ -366,10 +364,8 @@ to access after they've authenticated. Kbit/s
- If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. RADIUS can override the default settings. Leave empty or set to 0 for no limit. You will need to enable the traffic shaper for this to be effective. + If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. RADIUS can override the default settings. Leave empty or set to 0 for no limit. -*/ -?> Authentication -- cgit v1.1