mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-07-01 07:53:43 +02:00
LSformElement :: password: fix confirmInput feature on CLI mode
This commit is contained in:
parent
69fc42a299
commit
f8f24df2dd
|
@ -70,6 +70,10 @@ class LSformElement_password extends LSformElement {
|
||||||
self :: log_debug('getPostData('.$this -> name.'): no confirm data, but empty password provided => confirmed');
|
self :: log_debug('getPostData('.$this -> name.'): no confirm data, but empty password provided => confirmed');
|
||||||
$confirmed = true;
|
$confirmed = true;
|
||||||
}
|
}
|
||||||
|
elseif ($onlyIfPresent) {
|
||||||
|
self :: log_debug('getPostData('.$this -> name.'): no confirm data, but onlyIfPresent mode => confirmed');
|
||||||
|
$confirmed = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
elseif ($confirm_data == $return[$this -> name]) {
|
elseif ($confirm_data == $return[$this -> name]) {
|
||||||
self :: log_debug('getPostData('.$this -> name.'): confirm password value matched with new password');
|
self :: log_debug('getPostData('.$this -> name.'): confirm password value matched with new password');
|
||||||
|
|
Loading…
Reference in a new issue