mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +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
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user