Set if GET['domain']

This commit is contained in:
Victor LABORIE 2017-12-13 23:08:01 +01:00
parent 464e724c08
commit 8bfc81b0da

View file

@ -10,5 +10,9 @@ if (empty($_SESSION['login'])) {
if (!$server = new LdapServer($_SESSION['login'])) {
print "<div class=\"alert alert-danger\" role=\"alert\">Erreur de connexion LDAP !</div>";
exit(1);
} else {
if (!empty($_GET['domain'])) {
$domain = new LdapDomain($server, Html::clean($_GET['domain']));
}
}
}