summaryrefslogtreecommitdiffstats
path: root/extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-01-07 22:05:19 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-01-07 22:05:19 +0100
commit240077ef7e91afb8cc89866c06fa2ca39d6a0c03 (patch)
tree6453d25d1a2843e17a65163a16c4fc13742ba606 /extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
parentea3776c06f7562eed413c44fc9a061ca6102f4df (diff)
downloadbugzilla-240077ef7e91afb8cc89866c06fa2ca39d6a0c03.tar.gz
bugzilla-240077ef7e91afb8cc89866c06fa2ca39d6a0c03.tar.xz
Bug 820183 - BrowserID extension should allow custom configuration of browserid hostnames to use for verification
r=glob
Diffstat (limited to 'extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl')
-rw-r--r--extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl b/extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
index 08e68a690..b1c186493 100644
--- a/extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
+++ b/extensions/BrowserID/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
@@ -1,5 +1,6 @@
-[% IF Param('user_info_class').split(',').contains('BrowserID') %]
-<script src="https://browserid.org/include.js" type="text/javascript"></script>
+[% IF Param('user_info_class').split(',').contains('BrowserID')
+ && Param('browserid_includejs_url') %]
+<script src="[% Param('browserid_includejs_url') %]" type="text/javascript"></script>
[%# Note this code is a tiny bit different from the other copy; the name of
# the variable containing the login url is 'login_target' rather than