FIX: SS5 Login Forms
This commit is contained in:
parent
cec20eebf9
commit
382f0d493a
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue