Added user agent to access log.
This commit is contained in:
@@ -181,6 +181,8 @@ export async function verifyKey(userId, key, req) {
|
||||
userId,
|
||||
identifier: storedKey.identifier,
|
||||
ip: req.userIp,
|
||||
path: req.path,
|
||||
userAgent: req.headers['user-agent'],
|
||||
});
|
||||
|
||||
knex('users_keys')
|
||||
|
||||
Reference in New Issue
Block a user