populate cs_inet_email with a default generated address ... we need it for XMPP
[citadel.git] / citadel / user_ops.c
index 9b4ee0d4f42666270662c6535783fc074f71455b..32734200e55b19f633760e961e2c6943d8b24ee1 100644 (file)
@@ -659,12 +659,11 @@ void do_login(void)
 #endif
 
        /*
-        * No email address for user?  Make one up.     (commented out because it appears to break things)
+        * No email address for user?  Make one up.  (Apparently this broke something in the past.  What was it?)
+        */
        if (IsEmptyStr(CC->user.emailaddrs)) {
                sprintf(CC->user.emailaddrs, "cit%ld@%s", CC->user.usernum, CtdlGetConfigStr("c_fqdn"));
        }
-        */
-       
 
        /*
         * Populate cs_inet_email and cs_inet_other_emails with valid email addresses from the user record