MantisBT: master-1.2.x 83fb71b5

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-08-16 22:49 master-1.2.x 6987b4ad
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