openvk/Web/Presenters/templates/User/TwoFactorAuthCodes.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

18 lines
561 B
XML

{extends "../@layout.xml"}
{block title}{_"my_settings"} - {_"two_factor_authentication"}{/block}
{block header}
<a href="/settings">{_"my_settings"}</a> » {_"two_factor_authentication"}
{/block}
{block content}
<h4>{_"backup_codes"}</h4>
<p>{_"two_factor_authentication_backup_codes_1"}</p>
<p>{_"two_factor_authentication_backup_codes_2"|noescape}</p>
<ol style="columns: 2; text-align: center;">
<li n:foreach="$codes as $code">{$code}</li>
</ol>
<p>{_"two_factor_authentication_backup_codes_3"}</p>
{/block}