Private GIT

Skip to content
Snippets Groups Projects
Commit 69c4264e authored by phpipam's avatar phpipam
Browse files

Radius fixes

parent 005f88f2
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,11 @@ $delete = $_POST['action']=="delete" ? "disabled" : "";
$Log->write( _("Radius login"), _("php Socket extension missing!"), 2 );
$Result->show("danger", _("php Socket extension missing!"), false);
}
# check for Composer errors
if($User->composer_has_errors (["dapphp/radius"])) {
print "<hr>";
print_r($Result->show("warning", $User->composer_err));
}
?>
</div>
......
......@@ -1234,7 +1234,7 @@ class User extends Common_functions {
$params = pf_json_decode($this->authmethodparams);
# Valdate composer
if($this->composer_has_errors(["dapphp/radius1"])) {
if($this->composer_has_errors(["dapphp/radius"])) {
$this->Result->show("danger", _("Error in authentication method. Please contact administrator").".", true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment