aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Security/VerificationToken/CleanUpJob.php
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2021-10-07 20:19:24 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2021-10-07 20:20:09 +0200
commit240eb0258572843d76a3c3bab7a52c66afc31001 (patch)
tree62abb336d5ffdf11b9984d3a50d859271d08ca96 /lib/private/Security/VerificationToken/CleanUpJob.php
parent339c6edd38830b42bb3b13c4f5eca8b27a00eec9 (diff)
downloadnextcloud-server-240eb0258572843d76a3c3bab7a52c66afc31001.tar.gz
nextcloud-server-240eb0258572843d76a3c3bab7a52c66afc31001.zip
Set associative = true for cleanup job
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Security/VerificationToken/CleanUpJob.php')
-rw-r--r--lib/private/Security/VerificationToken/CleanUpJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/VerificationToken/CleanUpJob.php b/lib/private/Security/VerificationToken/CleanUpJob.php
index 331172898ec..be9d24ece45 100644
--- a/lib/private/Security/VerificationToken/CleanUpJob.php
+++ b/lib/private/Security/VerificationToken/CleanUpJob.php
@@ -59,7 +59,7 @@ class CleanUpJob extends \OCP\BackgroundJob\Job {
public function setArgument($argument) {
parent::setArgument($argument);
- $args = \json_decode($argument);
+ $args = \json_decode($argument, true);
$this->userId = (string)$args['userId'];
$this->subject = (string)$args['subject'];
$this->pwdPrefix = (string)$args['pp'];