Added user agent to access log.

This commit is contained in:
2024-08-31 05:28:38 +02:00
parent 59ebb94af8
commit 29a474f471

View File

@@ -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')