diff options
author | Andrew Dolgov <[email protected]> | 2022-07-24 16:33:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-07-24 16:33:28 +0300 |
commit | 7c45b3f789d94ddf670025ca64de9279952604fa (patch) | |
tree | 917392b4b57f9f9715d12b5d3e31697969a849dc /classes/pluginhost.php | |
parent | c0385c2098ccc831105c4fe83f3d30065ec58f91 (diff) |
* add HOOK_LOGINFORM_ADDITIONAL_BUTTONS
* allow plugins to inject JS code into login form
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-x | classes/pluginhost.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 952d4df77..6ab4ac806 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -203,6 +203,9 @@ class PluginHost { /** @see Plugin::hook_post_logout() */ const HOOK_POST_LOGOUT = "hook_post_logout"; + /** @see Plugin::hook_loginform_additional_buttons() */ + const HOOK_LOGINFORM_ADDITIONAL_BUTTONS = "hook_loginform_additional_buttons"; + const KIND_ALL = 1; const KIND_SYSTEM = 2; const KIND_USER = 3; |