mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Show username of every http request in -D output
This commit is contained in:
@@ -832,7 +832,7 @@ CSmartPtr<CWebSession> CWebSock::GetSession() {
|
||||
Sessions.m_mspSessions.AddItem((*pSession)->GetId(), *pSession);
|
||||
(*pSession)->UpdateLastActive();
|
||||
m_spSession = *pSession;
|
||||
DEBUG("Found existing session from cookie: [" + sCookieSessionId + "] IsLoggedIn(" + CString((*pSession)->IsLoggedIn() ? "true" : "false") + ")");
|
||||
DEBUG("Found existing session from cookie: [" + sCookieSessionId + "] IsLoggedIn(" + CString((*pSession)->IsLoggedIn() ? "true, " + ((*pSession)->GetUser()->GetUserName()) : "false") + ")");
|
||||
return *pSession;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user