mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
[#282] added the "real" user ip to the logs
This commit is contained in:
1 parent
9bf66be870
commit
cfaff31d97
19 files changed
+241
-146
No files matched your search
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