Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-07-20 23:47:33 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-07-20 23:47:33 +0300
commitadf67fac9632788a86d710fc8fbdb76f041b434f (patch)
tree8efdbeef07f0b9c8ca098a7920faaa838637552e /lib
parentba4f12baa02dfb55ec8822687896d643261440c4 (diff)
JSON encode the values
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Security/Bruteforce/Throttler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/Bruteforce/Throttler.php b/lib/private/Security/Bruteforce/Throttler.php
index 5a964dfbaf4..0de7677285b 100644
--- a/lib/private/Security/Bruteforce/Throttler.php
+++ b/lib/private/Security/Bruteforce/Throttler.php
@@ -161,7 +161,7 @@ class Throttler {
'occurred' => $this->timeFactory->getTime(),
'ip' => $ip,
'subnet' => $this->getSubnet($ip),
- 'metadata' => $metadata,
+ 'metadata' => json_encode($metadata),
];
$this->logger->notice(