FIX: SS5 Login Forms

This commit is contained in:
Tony Air 2024-04-22 17:27:05 +02:00
parent cec20eebf9
commit 382f0d493a

View File

@ -75,8 +75,11 @@ class AjaxControllerEx extends Extension
{
$ctrl = Security::singleton();
$auth = $ctrl->getApplicableAuthenticators()['default'];
$loginHandler = $auth->getLoginHandler('login');
/* @var Form $form */
$form = $ctrl->getLoginForms()['default'][0];
$form = $loginHandler->LoginForm();
self::_processFields($form);
//$form->addExtraClass('ajax-form');