Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
48accde0
Commit
48accde0
authored
Oct 23, 2014
by
Côme Bernigaud
Committed by
Benoit Mortier
Oct 23, 2014
Browse files
Fixes #3397 fixed some $this forgotten in a static function
parent
64f0a1ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/personal/password/class_password.inc
View file @
48accde0
...
...
@@ -196,15 +196,15 @@ class password extends plugin
global
$config
,
$ui
;
/* Should we check different characters in new password */
$check_differ
=
(
$
this
->
config
->
get_cfg_value
(
"passwordMinDiffer"
)
!=
""
);
$differ
=
$
this
->
config
->
get_cfg_value
(
"passwordMinDiffer"
,
0
);
$check_differ
=
(
$config
->
get_cfg_value
(
"passwordMinDiffer"
)
!=
""
);
$differ
=
$config
->
get_cfg_value
(
"passwordMinDiffer"
,
0
);
if
(
$current_password
===
NULL
)
{
$check_differ
=
FALSE
;
}
/* Enable length check ? */
$check_length
=
(
$
this
->
config
->
get_cfg_value
(
"passwordMinLength"
)
!=
""
);
$length
=
$
this
->
config
->
get_cfg_value
(
"passwordMinLength"
,
0
);
$check_length
=
(
$config
->
get_cfg_value
(
"passwordMinLength"
)
!=
""
);
$length
=
$config
->
get_cfg_value
(
"passwordMinLength"
,
0
);
$ldap
=
$config
->
get_ldap_link
();
$ldap
->
cat
(
$user
,
array
(
'pwdPolicySubentry'
,
'pwdHistory'
,
'pwdChangedTime'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment