X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fauth.c;h=e48c4e69ce2d9f606ba9a7d8a6618e76a7341ce8;hb=5a825607ef9581165e382ab6989c1c4d7cdf1254;hp=0823216041913729645afc310dcff9d5be02d919;hpb=f0e6b0183e4739e5fe35fbc8bd116c7b219c0ab7;p=citadel.git diff --git a/webcit/auth.c b/webcit/auth.c index 082321604..e48c4e69c 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -332,6 +332,7 @@ void openid_manual_create(void) */ void do_openid_login(void) { + wcsession *WCC = WC; char buf[4096]; if (havebstr("language")) { @@ -347,8 +348,8 @@ void do_openid_login(void) snprintf(buf, sizeof buf, "OIDS %s|%s://%s/finalize_openid_login|%s://%s", bstr("openid_url"), - (is_https ? "https" : "http"), WC->http_host, - (is_https ? "https" : "http"), WC->http_host + (is_https ? "https" : "http"), ChrPtr(WCC->http_host), + (is_https ? "https" : "http"), ChrPtr(WCC->http_host) ); serv_puts(buf);