]> git.gsnw.org Git - m0n0chwall.git/commitdiff
add fix for cp_unlock when authentication fails.
authorjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Thu, 20 Apr 2006 08:44:28 +0000 (08:44 +0000)
committerjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Thu, 20 Apr 2006 08:44:28 +0000 (08:44 +0000)
git-svn-id: https://svn.m0n0.ch/wall/trunk@132 e36fee2c-cc09-0410-a7cc-ebac5c6737de

phpconf/inc/captiveportal.inc

index 3b12fb675302f431491bccafb4892d16d5f8af84..bb83a23ea1ce5edef7b099009925ed30aeafb061 100644 (file)
@@ -821,6 +821,9 @@ function radius($username,$password,$clientip,$clientmac,$type) {
                 captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED");
         }
     }
+    else {
+        captiveportal_unlock();
+    }
 
     return $auth_list;