MantisBT: master 86abb9cc

Author Committer Branch Timestamp Parent
dregad dregad master 2012-08-16 22:49 master a38858a3
Affected Issues  0014632: Email validation always successful when $g_use_ldap_email = ON
Changeset

Do not skip e-mail validation if $g_login_method != LDAP

Prior to this, function email_is_valid() always returned true when
$g_use_ldap_email = ON, even if $g_login_method != LDAP.

Even though this is not an usual case (when not using LDAP, the other
LDAP-related configuration options should be left to their default
values), this causes the actual validation to be skipped which could
lead to email sending errors.

Fixes 0014632

mod - core/email_api.php Diff File