-/*
- * $Id$
- */
#include "webcit.h"
#include "webserver.h"
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);
}
do_template("endbox", NULL);
- wc_printf("</div>");
wDumpContent(2);
}
char buf[4096];
if (havebstr("attach_button")) {
- wcsession *WCC = WC;
lprintf(CTDL_DEBUG, "Attempting to attach %s\n", bstr("openid_url"));
snprintf(buf, sizeof buf,
- "OIDS %s|%s://%s/finalize_openid_login|%s://%s",
- bstr("openid_url"),
- (is_https ? "https" : "http"), ChrPtr(WCC->Hdr->HR.http_host),
- (is_https ? "https" : "http"), ChrPtr(WCC->Hdr->HR.http_host)
+ "OIDS %s|%s/finalize_openid_login|%s",
+ bstr("openid_url"),
+ ChrPtr(site_prefix),
+ ChrPtr(site_prefix)
);
serv_puts(buf);