]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Add hooks for alternative login methods. r,a=LpSolit.
authorGervase Markham <gerv@gerv.net>
Mon, 26 Mar 2012 11:11:16 +0000 (12:11 +0100)
committerGervase Markham <gerv@mozilla.org>
Mon, 26 Mar 2012 11:11:16 +0000 (12:11 +0100)
https://bugzilla.mozilla.org/show_bug.cgi?id=698418

template/en/default/account/auth/login-small.html.tmpl
template/en/default/account/auth/login.html.tmpl

index 39984aeaf239738a82129ba59f81b329ed666935..fbe40fb434711870559742362c1da73f3b85844c 100644 (file)
@@ -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 %]"
index 80dd1215376257ccc1f8075f032a4a864c8d8455..122ef6f7ce7370e5594afe651b9952aa92f4e4eb 100644 (file)
@@ -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.
   #%]