projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3cd9446
)
* Added an extra logging message to try to figure out the problem of users being...
author
Art Cancro
<ajc@citadel.org>
Thu, 11 Jun 2009 21:36:01 +0000
(21:36 +0000)
committer
Art Cancro
<ajc@citadel.org>
Thu, 11 Jun 2009 21:36:01 +0000
(21:36 +0000)
webcit/auth.c
patch
|
blob
|
history
diff --git
a/webcit/auth.c
b/webcit/auth.c
index f9336fd8443684b1d20f00796754bbef161440b1..3913a103213463c45d4a4ed4e6789a77853dabb6 100644
(file)
--- a/
webcit/auth.c
+++ b/
webcit/auth.c
@@
-173,8
+173,6
@@
void do_login(void)
wcsession *WCC = WC;
StrBuf *Buf;
wcsession *WCC = WC;
StrBuf *Buf;
- lprintf(9, "SELECTED LANGUAGE: '%s'\n", bstr("language"));
-
if (havebstr("language")) {
set_selected_language(bstr("language"));
go_selected_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 (ChrPtr(Buf)[0] == '/') {
StrBufCutLeft(Buf, 1);
}
- if (StrLength(Buf) == 0)
+ if (StrLength(Buf) == 0)
{
StrBufAppendBufPlain(Buf, "dotgoto?room=_BASEROOM_", -1, 0);
StrBufAppendBufPlain(Buf, "dotgoto?room=_BASEROOM_", -1, 0);
+ }
+ lprintf(9, "Redirecting to user's start page: %s\n", ChrPtr(Buf));
http_redirect(ChrPtr(Buf));
}
http_redirect(ChrPtr(Buf));
}