Restored the ability to associate an OpenID with an existing account.
[citadel.git] / webcit / openid.c
index 8ab2cb4ced73fe0f28d83569a228c47363e8e530..28af729227eaf57b9f63f21435ae9b1b8da6481a 100644 (file)
@@ -67,7 +67,7 @@ void openid_attach(void) {
                syslog(LOG_DEBUG, "Attempting to attach %s\n", bstr("openid_url"));
 
                snprintf(buf, sizeof buf,
-                       "OIDS %s|%s/finalize_openid_login|%s",
+                       "OIDS %s|%s/finalize_openid_login?attach_existing=1|%s",
                        bstr("openid_url"),
                        ChrPtr(site_prefix),
                        ChrPtr(site_prefix)