[#282] added the "real" user ip to the logs
This commit is contained in:
Binary file not shown.
+4
-1
@@ -10,7 +10,8 @@ func MockRequestLogsData(app *TestApp) error {
|
||||
[[method]],
|
||||
[[status]],
|
||||
[[auth]],
|
||||
[[ip]],
|
||||
[[userIp]],
|
||||
[[remoteIp]],
|
||||
[[referer]],
|
||||
[[userAgent]],
|
||||
[[meta]],
|
||||
@@ -25,6 +26,7 @@ func MockRequestLogsData(app *TestApp) error {
|
||||
200,
|
||||
"guest",
|
||||
"127.0.0.1",
|
||||
"127.0.0.1",
|
||||
"",
|
||||
"",
|
||||
"{}",
|
||||
@@ -38,6 +40,7 @@ func MockRequestLogsData(app *TestApp) error {
|
||||
400,
|
||||
"admin",
|
||||
"127.0.0.1",
|
||||
"127.0.0.1",
|
||||
"",
|
||||
"",
|
||||
'{"errorDetails":"error_details..."}',
|
||||
|
||||
Reference in New Issue
Block a user