mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-06 05:15:43 +01:00
Regenerate lang
This commit is contained in:
@@ -688,3 +688,4 @@ PLUGIN_ADMIN:
|
|||||||
2FA_CODE_INPUT: "2FA Code (if enabled)"
|
2FA_CODE_INPUT: "2FA Code (if enabled)"
|
||||||
2FA_SECRET: "2FA Secret"
|
2FA_SECRET: "2FA Secret"
|
||||||
2FA_SECRET_HELP: "Scan this code into your Authenticator App or enter the code manually. Check the Grav docs for more information"
|
2FA_SECRET_HELP: "Scan this code into your Authenticator App or enter the code manually. Check the Grav docs for more information"
|
||||||
|
2FA_REGENERATE: "Regenerate"
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<img style="border: 1px solid #ddd" data-2fa-image src="{{ two_fa.getQRCodeImageAsDataUri(grav.user.email, value) }}" />
|
<img style="border: 1px solid #ddd" data-2fa-image src="{{ two_fa.getQRCodeImageAsDataUri(grav.user.email, value) }}" />
|
||||||
<div class="2fa-secret" data-2fa-secret>{{ value|chunkSplit(4, ' ') }}</div>
|
<div class="2fa-secret" data-2fa-secret>{{ value|chunkSplit(4, ' ') }}</div>
|
||||||
<button class="button button-small" data-2fa-regenerate><i class="fa fa-fw fa-refresh"></i> Regenerate</button>
|
<button class="button button-small" data-2fa-regenerate><i class="fa fa-fw fa-refresh"></i> {{ 'PLUGIN_ADMIN.2FA_REGENERATE'|t }}</button>
|
||||||
|
|
||||||
<input type="text" style="display:none;" name="{{ (scope ~ field.name)|fieldName }}" data-2fa-value value="{{ value|join(', ') }}" />
|
<input type="text" style="display:none;" name="{{ (scope ~ field.name)|fieldName }}" data-2fa-value value="{{ value|join(', ') }}" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user