mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
e433e83c5d
This commit adds full TOTP 2FA. And even backup codes modeled on the original VK
18 lines
561 B
XML
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}
|