mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-11 16:00:45 +01:00
hook to allow apps to modify login page, eg. for multifactor auth
This commit is contained in:
parent
a71cbcbd9a
commit
2ea4caecac
@ -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