X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fauth.c;h=73a39ba62657cd0f4365c586f81eb9f41ff2eda7;hb=8aec1a788f381cbe18eafc729a89b303bec05944;hp=0c4e76b516b04b0eb9f23297ae8454923fccff91;hpb=aafa773c33eef66c0d1836d034419bf96e94c156;p=citadel.git diff --git a/webcit/auth.c b/webcit/auth.c index 0c4e76b51..73a39ba62 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -792,11 +792,13 @@ void display_reg(int during_login) void display_changepw(void) { char buf[SIZ]; - + StrBuf *Buf; output_headers(1, 1, 1, 0, 0, 0); - svput("BOXTITLE", WCS_STRING, _("Change your password")); - do_template("beginbox", NULL); + Buf = NewStrBufPlain(_("Change your password"), -1); + DoTemplate(HKEY("beginbox"), NULL, Buf, CTX_STRBUF); + + FreeStrBuf(&Buf); if (!IsEmptyStr(WC->ImportantMessage)) { wprintf(""