View Issue Details

IDProjectCategoryView StatusLast Update
0008025mantisbtldappublic2009-10-07 14:20
Reporterkstevenard Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformAllOSAllOS VersionAll
Product Version1.0.7 
Fixed in Version1.2.0rc2 
Summary0008025: Email field verification when using ldap email
Description

When you setup mantis to use ldap and use ldap email field instead of mantis db mail attribute, when a user want to setup his information after signup for a new account there is no email field but after validating informations you have an error "Invalid Email"

i have set into core/email_api.php:

    function email_ensure_valid( $p_email ) {
            if ( ON != config_get( 'use_ldap_email' ) ) {
                    if ( !email_is_valid( $p_email ) ) {
                            trigger_error( ERROR_EMAIL_INVALID, ERROR );
                    }
            }
    }

And now it's work fine

Steps To Reproduce

set :
$g_login_method = LDAP;
$g_use_ldap_email = ON;

signup for a new account

check the link send by email

fill the form and validate

Tagspatch

Activities

vboctor

vboctor

2009-07-06 02:04

manager   ~0022406

This is fixed as part of 0005175.