aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl
diff options
context:
space:
mode:
authoronefang2020-05-18 14:55:47 +1000
committeronefang2020-05-18 14:55:47 +1000
commite189a21ce028bc4dd3605c788a950cf98933141e (patch)
treea327efa0e2bc302f9204c19e41a9af9a71194537 /src/sledjchisl
parentComments += (diff)
downloadopensim-SC_OLD-e189a21ce028bc4dd3605c788a950cf98933141e.zip
opensim-SC_OLD-e189a21ce028bc4dd3605c788a950cf98933141e.tar.gz
opensim-SC_OLD-e189a21ce028bc4dd3605c788a950cf98933141e.tar.bz2
opensim-SC_OLD-e189a21ce028bc4dd3605c788a950cf98933141e.tar.xz
Print the name from the session in various places.
Diffstat (limited to 'src/sledjchisl')
-rw-r--r--src/sledjchisl/sledjchisl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 3cd22e4..bacab21 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -3170,7 +3170,7 @@ qlisttbl_t *accountLevels = NULL;
3170static void bitch(reqData *Rd, char *message, char *log) 3170static void bitch(reqData *Rd, char *message, char *log)
3171{ 3171{
3172 addStrL(Rd->errors, message); 3172 addStrL(Rd->errors, message);
3173 E("%s %s %s - %s %s", getStrH(Rd->headers, "REMOTE_ADDR"), Rd->shs.UUID, getStrH(Rd->stuff, "name"), message, log); 3173 E("%s %s %s - %s %s", getStrH(Rd->headers, "REMOTE_ADDR"), Rd->shs.UUID, Rd->shs.name, message, log);
3174} 3174}
3175 3175
3176/* "A token cookie that references a non-existent session, its value should be replaced immediately to prevent session fixation." 3176/* "A token cookie that references a non-existent session, its value should be replaced immediately to prevent session fixation."
@@ -3184,7 +3184,7 @@ static void bitchSession(reqData *Rd, char *message, char *log)
3184{ 3184{
3185 if ('\0' != message[0]) 3185 if ('\0' != message[0])
3186 addStrL(Rd->errors, message); 3186 addStrL(Rd->errors, message);
3187 C("%s %s %s - %s %s", getStrH(Rd->headers, "REMOTE_ADDR"), Rd->shs.UUID, getStrH(Rd->stuff, "name"), message, log); 3187 C("%s %s %s - %s %s", getStrH(Rd->headers, "REMOTE_ADDR"), Rd->shs.UUID, Rd->shs.name, message, log);
3188 Rd->shs.status = SHS_BOGUS; 3188 Rd->shs.status = SHS_BOGUS;
3189} 3189}
3190 3190
@@ -5374,7 +5374,7 @@ static int accountAddSub(reqData *Rd, inputForm *iF, inputValue *iV)
5374 newSesh(Rd, TRUE); 5374 newSesh(Rd, TRUE);
5375 accountWrite(Rd); 5375 accountWrite(Rd);
5376 // log them in 5376 // log them in
5377 I("Logged on %s %s Level %d %s", Rd->shs.UUID, getStrH(Rd->stuff, "name"), Rd->shs.level, getLevel(Rd->shs.level)); 5377 I("Logged on %s %s Level %d %s", Rd->shs.UUID, Rd->shs.name, Rd->shs.level, getLevel(Rd->shs.level));
5378 Rd->output = "accountView"; 5378 Rd->output = "accountView";
5379 Rd->form = "accountView"; 5379 Rd->form = "accountView";
5380 Rd->doit = "login"; 5380 Rd->doit = "login";