X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fopenid%2Fserv_openid_rp.c;h=e2ff01f6d12a34a223233987caddc308df182811;hp=da0b7b42e8b05466e0c2f721b8115b01caad8e19;hb=9b75e54a170bc310ba800e45e9ac00131114d3ad;hpb=6824165bbb61aafe44e57715cc0e85ef0b544271 diff --git a/citadel/modules/openid/serv_openid_rp.c b/citadel/modules/openid/serv_openid_rp.c index da0b7b42e..e2ff01f6d 100644 --- a/citadel/modules/openid/serv_openid_rp.c +++ b/citadel/modules/openid/serv_openid_rp.c @@ -257,7 +257,7 @@ void cmd_oida(char *argbuf) { cprintf("000\n"); } - +#if 0 /* * Attempt to register (populate the vCard) the currently-logged-in user * using the data from Simple Registration Extension, if present. @@ -338,6 +338,7 @@ void populate_vcard_from_sreg(HashList *sreg_keys) { } vcard_free(v); } +#endif /* @@ -361,7 +362,7 @@ void cmd_oidc(char *argbuf) { if (CC->logged_in) { attach_openid(&CC->user, oiddata->claimed_id); if (oiddata->sreg_keys != NULL) { - populate_vcard_from_sreg(oiddata->sreg_keys); + /* populate_vcard_from_sreg(oiddata->sreg_keys); */ } } @@ -434,7 +435,7 @@ int openid_create_user_via_sreg(StrBuf *claimed_id, HashList *sreg_keys) snprintf(new_password, sizeof new_password, "%08lx%08lx", random(), random()); CtdlSetPassword(new_password); attach_openid(&CC->user, claimed_id); - populate_vcard_from_sreg(sreg_keys); + /* populate_vcard_from_sreg(sreg_keys); */ return(0); }