Skip to content
Snippets Groups Projects
Verified Commit dbeda371 authored by Damien's avatar Damien
Browse files

FEAT #8055 Standard connect

parent b5c5b9d6
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ if (!empty($_SESSION['error'])) {
$ad = new LDAP($domain, $login_admin, $pass, $ssl);
}
} catch (Exception $conFailure) {
if (!empty($standardConnect)) {
if (!empty($standardConnect) && $standardConnect == 'true') {
$res = $sec->login($login, $password);
$_SESSION['user'] = $res['user'];
if (empty($res['error'])) {
......
......@@ -23,6 +23,7 @@
<lost_users>false</lost_users>
<!-- Si LDAP est desactive alors le pass de chaque utilisateur est son login -->
<pass_is_login>true</pass_is_login>
<standardConnect>false</standardConnect>
</config>
<!-- Est utile uniquement pour la synchroniqation des donnees -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment