mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- LSattr_ldap_password : Ajout d'une possiblité de stocker le mot de passe
directement en clair.
This commit is contained in:
parent
484fea1957
commit
e9533f7105
1 changed files with 4 additions and 0 deletions
|
@ -120,7 +120,11 @@ class LSattr_ldap_password extends LSattr_ldap {
|
||||||
return '{CRYPT}'.crypt($this -> clearPassword,'$1$'.$this -> getSalt().'$');
|
return '{CRYPT}'.crypt($this -> clearPassword,'$1$'.$this -> getSalt().'$');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'clear':
|
||||||
|
return $this -> clearPassword;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
LSerror :: addErrorCode('LSattr_ldap_password_01',$this -> config['ldap_options']['encode']);
|
||||||
return $this -> clearPassword;
|
return $this -> clearPassword;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue