From 09579bffbebd500f231d8d3ccb343c63142b3222 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 20 Nov 2019 23:44:10 -0500 Subject: [PATCH] UX: More obvious alt auth link --- app/assets/stylesheets/common/base/login.scss | 17 +++++++++++++++++ config/locales/client.en.yml | 2 +- config/locales/server.en.yml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/login.scss b/app/assets/stylesheets/common/base/login.scss index 00beeeccd69..2a2fb7a7d00 100644 --- a/app/assets/stylesheets/common/base/login.scss +++ b/app/assets/stylesheets/common/base/login.scss @@ -168,3 +168,20 @@ button#new-account-link { background: transparent; color: $primary-high; } + +#security-key { + display: flex; + flex-wrap: wrap; + align-items: center; + button { + margin-right: 1.5em; + } + p { + margin: 0; + font-size: $font-0; + } + a { + padding: 0.5em 0.5em 0.5em 0; + color: $tertiary; + } +} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index d9c5d17f337..5deaca25d53 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1461,7 +1461,7 @@ en: second_factor_backup_description: "Please enter one of your backup codes:" second_factor: "Log in using Authenticator app" security_key_description: "When you have your physical security key prepared press the Authenticate with Security Key button below." - security_key_alternative: "Can't find your security key or want to use another method?" + security_key_alternative: "Try another way" security_key_authenticate: "Authenticate with Security Key" security_key_not_allowed_error: "The security key authentication process either timed out or was cancelled." security_key_no_matching_credential_error: "No matching credentials could be found in the provided security key." diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 73eb81b5e99..acfd572e8d0 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -2285,7 +2285,7 @@ en: login: security_key_description: "When you have your physical security key prepared press the Authenticate with Security Key button below." - security_key_alternative: "Can't find your security key or want to use another method?" + security_key_alternative: "Try another way" security_key_authenticate: "Authenticate with Security Key" security_key_not_allowed_error: "The security key authentication process either timed out or was cancelled." security_key_no_matching_credential_error: "No matching credentials could be found in the provided security key."