From cdf1357c5c11149b5e22536cebdccfc4f5204ff7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 29 Feb 2020 19:50:20 +0100 Subject: [PATCH] start implementing portlets --- Controller/ApiController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 270b820..737e15c 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -528,7 +528,8 @@ final class ApiController extends Controller ); $this->updateModel($request->getHeader()->getAccount(), $old, $account, function() use($account) : void { - $account->setLoginTries((int) $this->app->appSettings->get(Settings::LOGIN_TRIES)); + $t = $this->app->appSettings->get(null, Settings::LOGIN_TRIES); + $account->setLoginTries((int) $this->app->appSettings->get(null, Settings::LOGIN_TRIES)); AccountMapper::update($account); }, 'account'); }