healthchecks_healthchecks/templates/accounts/remove_credential.html
2021-07-30 16:43:23 +03:00

39 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% load compress static hc_extras %}
{% block content %}
<div class="row">
<form class="col-sm-6 col-sm-offset-3" method="post">
{% csrf_token %}
<div class="panel panel-default">
<div class="panel-body settings-block">
<h2>Remove Security Key?</h2>
<p></p>
<p>You are about to remove
the security key <strong>{{ credential.name|default:'unnamed' }}</strong>
from your two-factor authentication methods.
</p>
{% if is_last %}
<p>
After removing this key,
<strong>two-factor authentication will no longer be active</strong>
for your {% site_name%} account.
</p>
{% endif %}
<div class="text-right">
<a
href="{% url 'hc-profile' %}"
class="btn btn-default">Cancel</a>
<button
type="submit"
name="remove_credential"
class="btn btn-danger">Remove Security Key</button>
</div>
</div>
</div>
</form>
</div>
{% endblock %}