summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/auth
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2012-03-26 13:11:16 +0200
committerGervase Markham <gerv@mozilla.org>2012-03-26 13:11:16 +0200
commit2712a9c0abea163f5f209d333fedbce8520dea1c (patch)
tree11b3ab6e0623539c277c6eba5bf1e5cecce8860b /template/en/default/account/auth
parentadf1113c195238b8c4540ec686399ee8e004e235 (diff)
downloadbugzilla-2712a9c0abea163f5f209d333fedbce8520dea1c.tar.gz
bugzilla-2712a9c0abea163f5f209d333fedbce8520dea1c.tar.xz
Add hooks for alternative login methods. r,a=LpSolit.
https://bugzilla.mozilla.org/show_bug.cgi?id=698418
Diffstat (limited to 'template/en/default/account/auth')
-rw-r--r--template/en/default/account/auth/login-small.html.tmpl3
-rw-r--r--template/en/default/account/auth/login.html.tmpl2
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 39984aeaf..fbe40fb43 100644
--- a/template/en/default/account/auth/login-small.html.tmpl
+++ b/template/en/default/account/auth/login-small.html.tmpl
@@ -39,6 +39,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 80dd12153..122ef6f7c 100644
--- a/template/en/default/account/auth/login.html.tmpl
+++ b/template/en/default/account/auth/login.html.tmpl
@@ -91,6 +91,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.
#%]