From 9b75e54a170bc310ba800e45e9ac00131114d3ad Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 1 Dec 2011 12:44:04 -0500 Subject: [PATCH] Temporarily disabling the simple registration code. We will rewrite using the attribute exchange data. --- citadel/modules/openid/serv_openid_rp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); } -- 2.30.2