Add origin to accountability (#15273)

* Add origin to accountability

* Remove origin column from seeds
This commit is contained in:
ian
2022-08-31 02:15:44 +08:00
committed by GitHub
parent b2d127dcc8
commit a971455216
22 changed files with 111 additions and 4 deletions

View File

@@ -59,6 +59,7 @@ router.post(
const accountability = {
ip: getIPFromReq(req),
userAgent: req.get('user-agent'),
origin: req.get('origin'),
role: null,
};
@@ -101,6 +102,7 @@ router.post(
const accountability = {
ip: getIPFromReq(req),
userAgent: req.get('user-agent'),
origin: req.get('origin'),
role: null,
};
@@ -141,6 +143,7 @@ router.post(
const accountability = {
ip: getIPFromReq(req),
userAgent: req.get('user-agent'),
origin: req.get('origin'),
role: null,
};
@@ -175,6 +178,7 @@ router.post(
const accountability = {
ip: getIPFromReq(req),
userAgent: req.get('user-agent'),
origin: req.get('origin'),
role: null,
};