.
* ---------------------------------------------------------------------
*/
$AJAX_INCLUDE = 1;
include ('../inc/includes.php');
header("Content-Type: text/html; charset=UTF-8");
Html::header_nocache();
Session::checkRight('user', User::UPDATEAUTHENT);
if ($_POST["authtype"] > 0) {
$name = 'massiveaction';
if (isset($_POST['name'])) {
$name = $_POST['name'];
}
switch ($_POST["authtype"]) {
case Auth::DB_GLPI :
echo "";
break;
case Auth::LDAP :
case Auth::EXTERNAL :
AuthLDAP::dropdown([
'name' => "auths_id",
'condition' => ['is_active' => 1]
]);
break;
case Auth::MAIL :
AuthMail::dropdown([
'name' => "auths_id",
'condition' => ['is_active' => 1]
]);
break;
}
echo " ";
}