mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 08:57:24 +02:00
more 2fa visual tweaks
This commit is contained in:
@@ -683,11 +683,11 @@ PLUGIN_ADMIN:
|
||||
ENABLE_AUTO_METADATA: "Auto metadata from Exif"
|
||||
ENABLE_AUTO_METADATA_HELP: "Automatically generate metadata files for images with exif information"
|
||||
2FA_TITLE: "2-Factor Authentication"
|
||||
2FA_INSTRUCTIONS: "You have **2-Factor Authentication** enabled on this account. Please use your 2FA app to enter the current 6-digit code."
|
||||
2FA_INSTRUCTIONS: "##### 2-Factor Authentication\nYou have **2FA** enabled on this account. Please use your **2FA** app to enter the current **6-digit code** to complete the login process."
|
||||
2FA_LABEL: "Admin Access"
|
||||
2FA_FAILED: "Invalid 2-Factor Authentication code, please try again..."
|
||||
2FA_ENABLED: "2FA Enabled"
|
||||
2FA_CODE_INPUT: "2FA Code (if enabled)"
|
||||
2FA_CODE_INPUT: "000000"
|
||||
2FA_SECRET: "2FA Secret"
|
||||
2FA_SECRET_HELP: "Scan this QR code into your [Authenticator App](https://learn.getgrav.org/admin-panel/2fa#apps). Also it's a good idea to backup the secret in a safe location, in case you need to reinstall your app. Check the [Grav docs](https://learn.getgrav.org/admin-panel/2fa) for more information "
|
||||
2FA_REGENERATE: "Regenerate"
|
||||
|
||||
@@ -19,14 +19,4 @@ form:
|
||||
placeholder: PLUGIN_ADMIN.PASSWORD
|
||||
validate:
|
||||
required: true
|
||||
|
||||
# twofa_check:
|
||||
# type: conditional
|
||||
# condition: config.plugins.admin.twofa_enabled
|
||||
#
|
||||
# fields:
|
||||
#
|
||||
# 2fa_code:
|
||||
# type: text
|
||||
# placeholder: PLUGIN_ADMIN.2FA_CODE_INPUT
|
||||
---
|
||||
|
||||
2
themes/grav/css-compiled/template.css
vendored
2
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -94,6 +94,11 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h5 {
|
||||
margin-top: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form {
|
||||
position: relative;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user