When comparing the sender, compare both the name and address.
[citadel.git] / citadel / user_ops.c
index 168f224fbc3a183cad447d978e61f09c4099334b..df9c920fc3b73a90455ba56b2d76ea5345eee04c 100644 (file)
@@ -699,7 +699,7 @@ void do_login(void)
        }
 
        /* Populate the user principal identity, which is consistent and never aliased */
-       strcpy(CC->cs_principal_id, "wowowowow");
+       strcpy(CC->cs_principal_id, "");
        makeuserkey(CC->cs_principal_id, CC->user.fullname);
        strcat(CC->cs_principal_id, "@");
        strcat(CC->cs_principal_id, CtdlGetConfigStr("c_fqdn"));