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
b8f23bf3
Commit
b8f23bf3
authored
Mar 30, 2015
by
Côme Bernigaud
Committed by
Benoit Mortier
Mar 30, 2015
Browse files
Fixes
#3667
the reset password should use the fdPrivateMail from the personal plugin
parent
559fe83b
Changes
1
Hide whitespace changes
Inline
Side-by-side
html/class_passwordRecovery.inc
View file @
b8f23bf3
...
...
@@ -505,6 +505,9 @@ class passwordRecovery {
}
else
{
$filter
=
"(&(objectClass=gosaMailAccount)(mail="
.
$this
->
email_address
.
"))"
;
}
if
(
class_available
(
'personalInfo'
)
&&
(
$this
->
config
->
get_cfg_value
(
'privateEmailPasswordRecovery'
,
'FALSE'
)
==
'TRUE'
))
{
$filter
=
'(|'
.
$filter
.
'(&(objectClass=fdPersonalInfo)(fdPrivateMail='
.
$this
->
email_address
.
')))'
;
}
$uids
=
get_list
(
$filter
,
""
,
$this
->
config
->
current
[
'BASE'
],
array
(
"uid"
),
GL_SUBSEARCH
|
GL_NO_ACL_CHECK
);
...
...
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