mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +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().'$');
|
||||
}
|
||||
break;
|
||||
case 'clear':
|
||||
return $this -> clearPassword;
|
||||
break;
|
||||
}
|
||||
LSerror :: addErrorCode('LSattr_ldap_password_01',$this -> config['ldap_options']['encode']);
|
||||
return $this -> clearPassword;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue