start implementing portlets

This commit is contained in:
Dennis Eichhorn 2020-02-29 19:50:20 +01:00
parent 12ac8340d0
commit cdf1357c5c

View File

@ -528,7 +528,8 @@ final class ApiController extends Controller
); );
$this->updateModel($request->getHeader()->getAccount(), $old, $account, function() use($account) : void { $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); AccountMapper::update($account);
}, 'account'); }, 'account');
} }