rDrama/files/templates/lost_2fa.html

35 lines
1.5 KiB
HTML
Raw Normal View History

2021-10-15 14:08:27 +00:00
{% extends "authforms.html" %}
2022-01-13 23:39:39 +00:00
{% block pagetitle %}{{SITE_NAME}} Two-Factor Removal{% endblock %}
2021-10-15 14:08:27 +00:00
{% block authtitle %}Remove the two-factor authentication from your account.{% endblock %}
{% block authtext %}If all information is correct, you will be able to remove 2-factor authentication from your account in 24 hours.{% endblock %}
{% block content %}
<div id="login-form" class="">
2021-12-28 12:41:26 +00:00
<form action="/request_2fa_disable" method="post" class="mt-3">
2021-10-15 14:08:27 +00:00
<label for="username" class="mt-3">Username</label>
2021-12-28 12:41:26 +00:00
<input autocomplete="off" class="form-control" id="username" aria-describedby="usernameHelp"
2021-10-15 14:08:27 +00:00
type="text" name="username" required=""{% if v %} value="{{v.username}}" disabled{% endif %}>
<label for="email" class="mt-3">Password</label>
2021-12-28 12:41:26 +00:00
<input autocomplete="off" class="form-control" id="password" aria-describedby="passwordHelp"
2021-10-15 14:08:27 +00:00
type="password" name="password" required="">
<label for="email" class="mt-3">Email</label>
2022-03-02 04:24:36 +00:00
<input autocomplete="off" class="form-control" id="password" type="email" pattern='([A-Za-z0-9]+[.-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\.[A-Z|a-z]{2,})+' name="email" required=""{% if v %} value="{{v.email}}" disabled{% endif %}>
2021-10-15 14:08:27 +00:00
2021-12-28 12:41:26 +00:00
<input autocomplete="off" class="btn btn-primary login w-100 mt-3" type="submit" value="Send recovery link">
2021-10-15 14:08:27 +00:00
</form>
</div>
2021-07-21 01:12:26 +00:00
{% endblock %}