From: Art Cancro Date: Thu, 11 Jun 2009 21:36:01 +0000 (+0000) Subject: * Added an extra logging message to try to figure out the problem of users being... X-Git-Tag: v7.86~1080 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=049682b893e6656bd993f00bd14dca717ad76d7f * Added an extra logging message to try to figure out the problem of users being directed to a bogus room upon login --- diff --git a/webcit/auth.c b/webcit/auth.c index f9336fd84..3913a1032 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -173,8 +173,6 @@ void do_login(void) wcsession *WCC = WC; StrBuf *Buf; - lprintf(9, "SELECTED LANGUAGE: '%s'\n", bstr("language")); - if (havebstr("language")) { set_selected_language(bstr("language")); go_selected_language(); @@ -514,8 +512,10 @@ void do_welcome(void) if (ChrPtr(Buf)[0] == '/') { StrBufCutLeft(Buf, 1); } - if (StrLength(Buf) == 0) + if (StrLength(Buf) == 0) { StrBufAppendBufPlain(Buf, "dotgoto?room=_BASEROOM_", -1, 0); + } + lprintf(9, "Redirecting to user's start page: %s\n", ChrPtr(Buf)); http_redirect(ChrPtr(Buf)); }