diff --git a/app/admin/authentication-methods/edit-Radius.php b/app/admin/authentication-methods/edit-Radius.php index 13a5a98affb68d03209a123275b9677d68ab5d68..5a8c4c65bee32c356a840a772d1b443449511be8 100644 --- a/app/admin/authentication-methods/edit-Radius.php +++ b/app/admin/authentication-methods/edit-Radius.php @@ -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> diff --git a/functions/classes/class.User.php b/functions/classes/class.User.php index b3f3b7df84581bf84f17850b2d1a766194e56b29..b0d463e2c624ded8d5240bb96e197b7198cc968f 100644 --- a/functions/classes/class.User.php +++ b/functions/classes/class.User.php @@ -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); }