X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fauth.c;h=4448d48df132ee8fef9c5a1ba6a1aaf052376c6c;hb=1180230743bb2d205a87866849723c91a9ac0b4d;hp=80543450fdad27f204cb781b726338d4cabbf35c;hpb=3f396efc18fa9fe1338f87a8581703ca758ec83c;p=citadel.git
diff --git a/webcit/auth.c b/webcit/auth.c
index 80543450f..4448d48df 100644
--- a/webcit/auth.c
+++ b/webcit/auth.c
@@ -51,43 +51,10 @@ void display_login(void)
*/
void display_openid_login(char *mesg)
{
- char buf[SIZ];
-
- output_headers(1, 1, 2, 0, 0, 0);
- wprintf("
\n");
-
- if ((mesg != NULL) && (!IsEmptyStr(mesg))) {
- stresc(buf, SIZ, mesg, 0, 0);
- svprintf(HKEY("MESG"), WCS_STRING, "%s", buf);
- }
-
- svprintf(HKEY("LOGIN_INSTRUCTIONS"), WCS_STRING,
- _("
"
- "- Enter your OpenID URL and click "Login"."
- "
- "
- "Click here to learn what OpenID is and how Citadel is using it."
- "
- Please log off properly when finished. "
- "
- You must use a browser that supports frames and "
- "cookies. "
- "
- Also keep in mind that if your browser is "
- "configured to block pop-up windows, you will not be able "
- "to receive any instant messages.
"
- "
")
- );
-
- svput("HELLO", WCS_SERVCMD, "MESG hello");
-
- svprintf(HKEY("OFFER_CONVENTIONAL_LOGIN"), WCS_STRING,
- "
"
- ,
- "Log in using a user name and password"
- );
-
- do_template("openid_login", NULL);
- wDumpContent(2);
+ begin_burst();
+ output_headers(1, 0, 0, 0, 1, 0);
+ do_template("openid_login", NULL);
+ end_burst();
}