You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

  1. {% extends "base.html" %}
  2. {% load compress static hc_extras %}
  3. {% block content %}
  4. <div class="row">
  5. <form class="col-sm-6 col-sm-offset-3" method="post">
  6. {% csrf_token %}
  7. <div class="panel panel-default">
  8. <div class="panel-body settings-block">
  9. <h2>Remove Security Key?</h2>
  10. <p></p>
  11. <p>You are about to remove
  12. the security key <strong>{{ credential.name|default:'unnamed' }}</strong>
  13. from your two-factor authentication methods.
  14. </p>
  15. {% if is_last %}
  16. <p>
  17. After removing this key,
  18. <strong>two-factor authentication will no longer be active</strong>
  19. for your {% site_name%} account.
  20. </p>
  21. {% endif %}
  22. <div class="text-right">
  23. <a
  24. href="{% url 'hc-profile' %}"
  25. class="btn btn-default">Cancel</a>
  26. <button
  27. type="submit"
  28. name="remove_credential"
  29. class="btn btn-danger">Remove Security Key</button>
  30. </div>
  31. </div>
  32. </div>
  33. </form>
  34. </div>
  35. {% endblock %}