remove typedef from struct recptypes
[citadel.git] / citadel / user_ops.c
index 168f224fbc3a183cad447d978e61f09c4099334b..0dc5ae3276b4909587f673041368b5f53cc2fc8a 100644 (file)
@@ -623,7 +623,7 @@ int CtdlLoginExistingUser(const char *trythisname)
        else {
                /* native auth mode */
 
-               recptypes *valid = NULL;
+               struct recptypes *valid = NULL;
        
                /* First, try to log in as if the supplied name is a display name */
                found_user = CtdlGetUser(&CC->user, username);
@@ -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"));