diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-15 22:52:12 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-15 22:52:12 +0100 |
commit | 841c07890e9ce51a5884edbd63ecc10e1ff2fbf1 (patch) | |
tree | 00f72bae4ca8e7ca0d6351dca9a1d23515ff3fd6 /extensions/BrowserID/template/en/default/hook/account/create-additional_methods.html.tmpl | |
parent | a21d718edfe6772b0e0a86eb5cb8937c7083bf5b (diff) | |
download | bugzilla-841c07890e9ce51a5884edbd63ecc10e1ff2fbf1.tar.gz bugzilla-841c07890e9ce51a5884edbd63ecc10e1ff2fbf1.tar.xz |
Bug 820936 - Rename BrowserID extension to Persona
r=glob
Diffstat (limited to 'extensions/BrowserID/template/en/default/hook/account/create-additional_methods.html.tmpl')
-rw-r--r-- | extensions/BrowserID/template/en/default/hook/account/create-additional_methods.html.tmpl | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/extensions/BrowserID/template/en/default/hook/account/create-additional_methods.html.tmpl b/extensions/BrowserID/template/en/default/hook/account/create-additional_methods.html.tmpl deleted file mode 100644 index 6f75f5cd7..000000000 --- a/extensions/BrowserID/template/en/default/hook/account/create-additional_methods.html.tmpl +++ /dev/null @@ -1,31 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF Param('user_info_class').split(',').contains('BrowserID') %] -<script type="text/javascript"> -function browserid_create_account() { - navigator.id.getVerifiedEmail(function(assertion) { - if (assertion) { - // This code will be invoked once the user has successfully - // selected an email address they control to sign in with. - document.getElementById('browserid_assertion').value = assertion; - document.getElementById('browserid_form').submit(); - return true; - } - }); -} -</script> - -Or, use your BrowserID account: -<img src="extensions/BrowserID/web/sign_in_orange.png" onclick="browserid_create_account()"> - -<form id="browserid_form" method="POST" action="index.cgi"> - <input type="hidden" name="token" value="[% issue_hash_token(['login']) FILTER html %]"> - <input type="hidden" name="browserid_assertion" id="browserid_assertion" value=""> -</form> -[% END %] |