summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-07-20 22:47:33 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-07-20 22:47:33 +0200
commitadf67fac9632788a86d710fc8fbdb76f041b434f (patch)
tree8efdbeef07f0b9c8ca098a7920faaa838637552e /lib/private
parentba4f12baa02dfb55ec8822687896d643261440c4 (diff)
downloadnextcloud-server-adf67fac9632788a86d710fc8fbdb76f041b434f.tar.gz
nextcloud-server-adf67fac9632788a86d710fc8fbdb76f041b434f.zip
JSON encode the values
Diffstat (limited to 'lib/private')
-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(