mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
LSformElement::password : consider password have not been change if new value and old value is empty
This commit is contained in:
parent
c176249848
commit
80456ca403
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class LSformElement_password extends LSformElement {
|
|||
return true;
|
||||
}
|
||||
|
||||
if ($this -> verifyPassword($return[$this -> name][0])) {
|
||||
if ($this -> verifyPassword($return[$this -> name][0]) || (empty($return[$this -> name][0]) && empty($val))) {
|
||||
LSdebug("Password : no change");
|
||||
unset($return[$this -> name]);
|
||||
$this -> form -> _notUpdate[$this -> name] == true;
|
||||
|
|
Loading…
Reference in a new issue