mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
LSformElement :: password : Fixed possibility to disable verify feature in configuration
This commit is contained in:
parent
d7688e2c71
commit
1692b42bf0
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class LSformElement_password extends LSformElement {
|
||||||
$params = array(
|
$params = array(
|
||||||
'generate' => ($this -> params['html_options']['generationTool']==True),
|
'generate' => ($this -> params['html_options']['generationTool']==True),
|
||||||
'viewHash' => ($this -> params['html_options']['viewHash']==True),
|
'viewHash' => ($this -> params['html_options']['viewHash']==True),
|
||||||
'verify' => (!$this -> attr_html -> attribute -> ldapObject-> isNew())
|
'verify' => ( (!$this -> attr_html -> attribute -> ldapObject-> isNew()) && ( (isset($this -> params['html_options']['verify']) && $this -> params['html_options']['verify']) || (!isset($this -> params['html_options']['verify'])) ) )
|
||||||
);
|
);
|
||||||
if (isset($this -> params['html_options']['mail'])) {
|
if (isset($this -> params['html_options']['mail'])) {
|
||||||
$params['mail'] = $this -> params['html_options']['mail'];
|
$params['mail'] = $this -> params['html_options']['mail'];
|
||||||
|
|
Loading…
Reference in a new issue