summaryrefslogtreecommitdiffstats
path: root/extensions/Persona
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-18 06:12:35 +0100
committerByron Jones <bjones@mozilla.com>2013-03-18 06:12:35 +0100
commit45a613343ad9d9042a13d2ed44e12f2dbe5fd269 (patch)
tree12dc17da1eeded8c18ea2716d243b01422ecd04a /extensions/Persona
parent0131b54976afdd3662475e7e84ad66c2997c0287 (diff)
downloadbugzilla-45a613343ad9d9042a13d2ed44e12f2dbe5fd269.tar.gz
bugzilla-45a613343ad9d9042a13d2ed44e12f2dbe5fd269.tar.xz
Bug 852022: remove getVerifiedEmail() call from persona
Diffstat (limited to 'extensions/Persona')
-rw-r--r--extensions/Persona/template/en/default/hook/account/create-additional_methods.html.tmpl14
1 files changed, 0 insertions, 14 deletions
diff --git a/extensions/Persona/template/en/default/hook/account/create-additional_methods.html.tmpl b/extensions/Persona/template/en/default/hook/account/create-additional_methods.html.tmpl
index 346cdc5ac..6b0d772af 100644
--- a/extensions/Persona/template/en/default/hook/account/create-additional_methods.html.tmpl
+++ b/extensions/Persona/template/en/default/hook/account/create-additional_methods.html.tmpl
@@ -7,20 +7,6 @@
#%]
[% IF Param('user_info_class').split(',').contains('Persona') %]
-<script type="text/javascript">
-function persona_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('persona_assertion').value = assertion;
- document.getElementById('persona_form').submit();
- return true;
- }
- });
-}
-</script>
-
Or, use your Persona account:
<img src="extensions/Persona/web/images/sign_in.png" onclick="persona_create_account()"
width="95" height="25" align="absmiddle">