]> 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:09:57 +0000 (12:09 +0100)
committerGervase Markham <gerv@mozilla.org>
Mon, 26 Mar 2012 11:09:57 +0000 (12:09 +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 d7cf6fea9f1fc708b2901b391743063642e0cb3c..b5f3f76a761811e8e18124614fae4e67711f2986 100644 (file)
@@ -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 %]"
index e91a489dc4e4a2114ffdc355c65958627bef5782..123449d7219e02c3ac4ad89d5b553dfd8502b743 100644 (file)
@@ -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.
   #%]