Fixed bugs related to last three commits
[citadel.git] / webcit / openid.c
index 8842e88102549f3f214d7d480a58a05a2417c917..ff358e347f7e2c3dc0c7609efbb00cb23b530513 100644 (file)
@@ -13,8 +13,6 @@ void display_openids(void)
 
        output_headers(1, 1, 1, 0, 0, 0);
 
-       wc_printf("<div class=\"fix_scrollbar_bug\">");
-
        do_template("beginbox_1", NULL);
        StrBufAppendBufPlain(WCC->WBuf, _("Manage Account/OpenID Associations"), -1, 0);
        do_template("beginbox_2", NULL);
@@ -54,7 +52,6 @@ void display_openids(void)
        }
 
        do_template("endbox", NULL);
-       wc_printf("</div>");
        wDumpContent(2);
 }
 
@@ -67,7 +64,7 @@ void openid_attach(void) {
 
        if (havebstr("attach_button")) {
 
-               lprintf(CTDL_DEBUG, "Attempting to attach %s\n", bstr("openid_url"));
+               syslog(LOG_DEBUG, "Attempting to attach %s\n", bstr("openid_url"));
 
                snprintf(buf, sizeof buf,
                        "OIDS %s|%s/finalize_openid_login|%s",
@@ -79,12 +76,12 @@ void openid_attach(void) {
                serv_puts(buf);
                serv_getln(buf, sizeof buf);
                if (buf[0] == '2') {
-                       lprintf(CTDL_DEBUG, "OpenID server contacted; redirecting to %s\n", &buf[4]);
+                       syslog(LOG_DEBUG, "OpenID server contacted; redirecting to %s\n", &buf[4]);
                        http_redirect(&buf[4]);
                        return;
                }
                else {
-                       lprintf(CTDL_DEBUG, "OpenID attach failed: %s\n", &buf[4]);
+                       syslog(LOG_DEBUG, "OpenID attach failed: %s\n", &buf[4]);
                }
        }