Commit ceb57bc7 authored by Gervase Markham's avatar Gervase Markham Committed by Gervase Markham

Add hooks for alternative login methods. r,a=LpSolit.

parent f2494355
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
[% script_name = login_target _ connector _ "GoAheadAndLogIn=1" %] [% script_name = login_target _ connector _ "GoAheadAndLogIn=1" %]
<a id="login_link[% qs_suffix %]" href="[% script_name FILTER html %]" <a id="login_link[% qs_suffix %]" href="[% script_name FILTER html %]"
onclick="return show_mini_login_form('[% qs_suffix %]')">Log In</a> onclick="return show_mini_login_form('[% qs_suffix %]')">Log In</a>
[% Hook.process('additional_methods') %]
<form action="[% login_target FILTER html %]" method="POST" <form action="[% login_target FILTER html %]" method="POST"
class="mini_login bz_default_hidden" class="mini_login bz_default_hidden"
id="mini_login[% qs_suffix FILTER html %]" id="mini_login[% qs_suffix FILTER html %]"
......
...@@ -76,6 +76,8 @@ ...@@ -76,6 +76,8 @@
</p> </p>
</form> </form>
[% Hook.process('additional_methods') %]
[%# Allow the user to create a new account, or request a token to change [%# Allow the user to create a new account, or request a token to change
# their password, assuming that our auth method allows that. # their password, assuming that our auth method allows that.
#%] #%]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment