From 413a8239f2a8b1579d150a5b03e9708989bc3b2e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 5 Oct 2020 20:34:05 +0200 Subject: [PATCH] fix typo bug --- Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index c4e0638..412e14d 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -775,7 +775,7 @@ final class ApiController extends Controller ); $this->updateModel($request->getHeader()->getAccount(), $old, $account, function() use($account) : void { - $account->setLoginTries((int) $this->app->appSettings->get(null, SettingsENUM::LOGIN_TRIES)['content']); + $account->setLoginTries((int) $this->app->appSettings->get(null, SettingsEnum::LOGIN_TRIES)['content']); AccountMapper::update($account); }, 'account', $request->getOrigin()); }