MantisBT: master-1.2.x 8d35e57a

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-07-02 04:43 master-1.2.x 802e5596
Affected Issues  0014442: LDAP binding calls are made even if $g_login_method <> LDAP
Changeset

LDAP binding calls are made even if $g_login_method <> LDAP

If for some reason $g_use_ldap_email or $g_use_ldap_realname are ON with
$g_login_method <> 'LDAP', binding calls are attempted when retrieving
the user's e-mail or real name.

Adding a check on $g_login_method to avoid this unwanted behavior.

Fixes 0014442

mod - core/user_api.php Diff File