From 2ce610933d0dcb267049e5658a7e88474afc535d Mon Sep 17 00:00:00 2001 From: James Rose Date: Fri, 12 Aug 2022 11:23:37 +0100 Subject: [PATCH] Fix sign in validation error copy (#831) These errors were injecting devise's authentication_keys which includes email and was duplicating that copy, for example: "Incorrect email email or password" --- config/locales/devise.en.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/devise.en.yml b/config/locales/devise.en.yml index e0babe522..16299ea10 100644 --- a/config/locales/devise.en.yml +++ b/config/locales/devise.en.yml @@ -9,10 +9,10 @@ en: failure: already_authenticated: "You are already signed in" inactive: "Your account has not been activated yet" - invalid: "Incorrect %{authentication_keys} email or password" + invalid: "Incorrect %{authentication_keys} or password" locked: "Your account has been locked." last_attempt: "You have one more attempt before your account is locked" - not_found_in_database: "Incorrect %{authentication_keys} email or password" + not_found_in_database: "Incorrect %{authentication_keys} or password" timeout: "Your session expired. Sign in again to continue." unauthenticated: "You need to sign in or sign up before continuing" unconfirmed: "You must confirm your email address before continuing"