mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 01:00:50 -04:00
audit log the user-agent
Signed-off-by: Roger Szabo <roger.szabo@web.de>
This commit is contained in:
parent
a4aea572e4
commit
06bcb220b5
1 changed files with 4 additions and 0 deletions
|
|
@ -74,6 +74,10 @@ class Action {
|
|||
}
|
||||
$replaceArray[] = $params[$element];
|
||||
}
|
||||
|
||||
//log the User-Agent
|
||||
$text = $text.' with User-Agent: "%s"';
|
||||
$replaceArray[] = $_SERVER['HTTP_USER_AGENT'];
|
||||
|
||||
$this->logger->info(
|
||||
vsprintf(
|
||||
|
|
|
|||
Loading…
Reference in a new issue