Added user agent to access log.

This commit is contained in:
DebaucheryLibrarian 2024-08-31 05:28:38 +02:00
parent 59ebb94af8
commit 29a474f471
1 changed files with 2 additions and 0 deletions

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