Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
Removed third-party persona script which blocked rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
auralon committed Jun 12, 2017
1 parent b507f82 commit 569be98
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions views/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,3 @@ <h3>Login to your Backpack account</h3>
</section>

{% endblock %}

{% block scripts %}

<script src="https://login.persona.org/include.js" type="text/javascript"></script>
<script>
$("#browserid").click(function(){
navigator.id.get(function(assertion) {
console.log(assertion)
if (assertion) {
$("#persona-form-assertion").val(assertion);
$("#persona-form").submit();
} else {
location.reload();
}
});
});
</script>

{% endblock %}

0 comments on commit 569be98

Please sign in to comment.