mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 00:39:19 +01:00
hook to allow apps to modify login page, eg. for multifactor auth
This commit is contained in:
parent
3e38ce2268
commit
b56c1ae856
@ -268,6 +268,12 @@ class Login
|
|||||||
// load jquery for login screen too
|
// load jquery for login screen too
|
||||||
Api\Framework::includeJS('jquery', 'jquery');
|
Api\Framework::includeJS('jquery', 'jquery');
|
||||||
|
|
||||||
|
// call hook to allow apps to modify login page, eg. for multifactor auth
|
||||||
|
Api\Hooks::process([
|
||||||
|
'location' => 'login_page',
|
||||||
|
'tmpl' => $tmpl,
|
||||||
|
], [], true);
|
||||||
|
|
||||||
$this->framework->render($tmpl->fp('loginout','login_form'),false,false);
|
$this->framework->render($tmpl->fp('loginout','login_form'),false,false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user