diff options
author | Gervase Markham <gerv@gerv.net> | 2012-03-26 13:09:57 +0200 |
---|---|---|
committer | Gervase Markham <gerv@mozilla.org> | 2012-03-26 13:09:57 +0200 |
commit | ceb57bc769eeda8520c9daca5796a51718284e71 (patch) | |
tree | 8686050c2416a5cc5b34bb4c823cb36b08f9315a | |
parent | f2494355cc0d9901bea958a0dfdf7f452fa9400b (diff) | |
download | bugzilla-ceb57bc769eeda8520c9daca5796a51718284e71.tar.gz bugzilla-ceb57bc769eeda8520c9daca5796a51718284e71.tar.xz |
Add hooks for alternative login methods. r,a=LpSolit.
https://bugzilla.mozilla.org/show_bug.cgi?id=698418
-rw-r--r-- | template/en/default/account/auth/login-small.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/account/auth/login.html.tmpl | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index d7cf6fea9..b5f3f76a7 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -25,6 +25,9 @@ [% script_name = login_target _ connector _ "GoAheadAndLogIn=1" %] <a id="login_link[% qs_suffix %]" href="[% script_name FILTER html %]" onclick="return show_mini_login_form('[% qs_suffix %]')">Log In</a> + + [% Hook.process('additional_methods') %] + <form action="[% login_target FILTER html %]" method="POST" class="mini_login bz_default_hidden" id="mini_login[% qs_suffix FILTER html %]" diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl index e91a489dc..123449d72 100644 --- a/template/en/default/account/auth/login.html.tmpl +++ b/template/en/default/account/auth/login.html.tmpl @@ -76,6 +76,8 @@ </p> </form> +[% Hook.process('additional_methods') %] + [%# Allow the user to create a new account, or request a token to change # their password, assuming that our auth method allows that. #%] |