fix settings object

This commit is contained in:
sabelo 2024-07-29 02:23:07 -03:00
parent 628a7a9712
commit 8fd40d3814

View File

@ -23,7 +23,7 @@ $app->get('/registration', function (Request $request, Response $response, array
}
return $view->render($response, 'registration.html',
[
'closed' => $this->settings['close_registration'],
'closed' => $this->get('settings')['close_registration'],
'sitekey' => $recapsitekey
]);
});