mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: SS5 Login Forms
This commit is contained in:
parent
cec20eebf9
commit
382f0d493a
@ -75,8 +75,11 @@ class AjaxControllerEx extends Extension
|
|||||||
{
|
{
|
||||||
$ctrl = Security::singleton();
|
$ctrl = Security::singleton();
|
||||||
|
|
||||||
|
$auth = $ctrl->getApplicableAuthenticators()['default'];
|
||||||
|
$loginHandler = $auth->getLoginHandler('login');
|
||||||
|
|
||||||
/* @var Form $form */
|
/* @var Form $form */
|
||||||
$form = $ctrl->getLoginForms()['default'][0];
|
$form = $loginHandler->LoginForm();
|
||||||
self::_processFields($form);
|
self::_processFields($form);
|
||||||
|
|
||||||
//$form->addExtraClass('ajax-form');
|
//$form->addExtraClass('ajax-form');
|
||||||
|
Loading…
Reference in New Issue
Block a user