more 2fa visual tweaks

This commit is contained in:
Andy Miller
2017-08-26 19:15:45 -06:00
parent ab3b47db1a
commit 3465b41e63
5 changed files with 9 additions and 14 deletions

View File

@@ -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"

View File

@@ -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
---

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -94,6 +94,11 @@
margin: 0;
}
h5 {
margin-top: 0;
text-align: center;
}
form {
position: relative;