openvk/Web/Presenters/templates/Auth/FinishRestoringPassword.xml
Maxim Leshchenko e433e83c5d
Users: Add two-factor authentication (#321)
This commit adds full TOTP 2FA. And even backup codes modeled on the original VK
2021-12-02 17:31:32 +02:00

29 lines
1.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{extends "../@layout.xml"}
{block title}
Восстановление доступа
{/block}
{block header}
Восстановить доступ к странице
{/block}
{block content}
<p>
Введите ваш новый пароль. Все текущие сеансы будут приостановлены и токены доступа будут аннулированы.
</p>
<form method="POST" enctype="multipart/form-data">
<label for="password">Новый пароль: </label>
<input id="password" type="password" name="password" required />
<br/><br/>
{if $is2faEnabled}
<label for="code">Код двухфакторной аутентификации: </label>
<input id="code" type="text" name="code" required />
<br/><br/>
{/if}
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="Сбросить пароль" class="button" style="float: right;" />
</form>
{/block}