X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuser_ops.c;h=191582b6e602a441c9e934ca73e985cca4906275;hb=fcec795dc7d0d125028ca1bd3a5f35b3f97b265f;hp=fe830092701028dc7c3fd35added29a94ca64bdb;hpb=5980aee9dfad00802b4e59fd8bd44ef197adf2b1;p=citadel.git diff --git a/citadel/user_ops.c b/citadel/user_ops.c index fe8300927..191582b6e 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -658,7 +658,7 @@ void do_login(void) if ((CtdlGetConfigInt("c_auth_mode") == AUTHMODE_LDAP) || (CtdlGetConfigInt("c_auth_mode") == AUTHMODE_LDAP_AD)) { char new_emailaddrs[512]; if (extract_email_addresses_from_ldap(CCC->ldap_dn, new_emailaddrs) == 0) { - strcpy(CCC->user.emailaddrs, new_emailaddrs); + CtdlSetEmailAddressesForUser(CCC->user.fullname, new_emailaddrs); } } #endif