X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuser_ops.c;h=0dc5ae3276b4909587f673041368b5f53cc2fc8a;hb=882ff5a53c3b4e440520a073cf07dc60b2671876;hp=168f224fbc3a183cad447d978e61f09c4099334b;hpb=f59e2e6772d87d323d065f09919ec0876bf2e0be;p=citadel.git diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 168f224fb..0dc5ae327 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -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"));