fix: Fixed radius debug mode (#6623)

This commit is contained in:
Olivier Beytrison
2017-05-10 09:32:35 +02:00
committed by Neil Lathwood
parent fe25e207ab
commit 472d15a639

View File

@@ -13,7 +13,7 @@ function authenticate($username, $password)
return 0;
} else {
if ($debug) {
$radius->SetDebugMode(true);
$radius->SetDebug(true);
}
$rad = $radius->AccessRequest($username, $password);
if ($rad === true) {