diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-07-20 22:47:33 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-07-20 22:47:33 +0200 |
commit | adf67fac9632788a86d710fc8fbdb76f041b434f (patch) | |
tree | 8efdbeef07f0b9c8ca098a7920faaa838637552e /lib/private | |
parent | ba4f12baa02dfb55ec8822687896d643261440c4 (diff) | |
download | nextcloud-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.php | 2 |
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( |