* add HOOK_LOGINFORM_ADDITIONAL_BUTTONS

* allow plugins to inject JS code into login form
This commit is contained in:
Andrew Dolgov
2022-07-24 16:33:28 +03:00
parent c0385c2098
commit 7c45b3f789
3 changed files with 39 additions and 0 deletions

View File

@@ -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;