From: Art Cancro Date: Thu, 1 Dec 2011 17:44:04 +0000 (-0500) Subject: Temporarily disabling the simple registration code. We will rewrite using the attrib... X-Git-Tag: v8.11~316 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=c09546736e26b737e1e5c6b5aca5be8463ecb00e Temporarily disabling the simple registration code. We will rewrite using the attribute exchange data. --- 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); }