mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-19 00:29:21 +01:00
LSformElement :: password: fix confirmInput feature on CLI mode
This commit is contained in:
parent
69fc42a299
commit
f8f24df2dd
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ class LSformElement_password extends LSformElement {
|
|||
self :: log_debug('getPostData('.$this -> name.'): no confirm data, but empty password provided => confirmed');
|
||||
$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]) {
|
||||
self :: log_debug('getPostData('.$this -> name.'): confirm password value matched with new password');
|
||||
|
|
Loading…
Reference in a new issue