From adf67fac9632788a86d710fc8fbdb76f041b434f Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 20 Jul 2016 22:47:33 +0200 Subject: [PATCH] JSON encode the values --- lib/private/Security/Bruteforce/Throttler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Security/Bruteforce/Throttler.php b/lib/private/Security/Bruteforce/Throttler.php index 5a964dfbaf..0de7677285 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(