mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Dereference and improve wording of TOTP errors.
This commit is contained in:
parent
125720c6e4
commit
11476d3ccc
2 changed files with 2 additions and 4 deletions
|
@ -189,7 +189,7 @@ en:
|
|||
two_factor_authentication:
|
||||
otp_authentication:
|
||||
update:
|
||||
error: :errors.invalid_otp
|
||||
error: "The code entered was invalid. Please check the system time on your device."
|
||||
destroy:
|
||||
success: "Two factor authentication has been disabled for your account."
|
||||
user:
|
||||
|
@ -201,7 +201,7 @@ en:
|
|||
info:
|
||||
one: "You have only one recovery code remaining. Please regenerate your recovery codes from the security settings to avoid being locked out!"
|
||||
other: "You have %{count} recovery codes remaining."
|
||||
error: :errors.invalid_otp
|
||||
error: "The code entered was invalid."
|
||||
registrations:
|
||||
destroy:
|
||||
export_pending: "You may not delete your account while account data is currently being exported."
|
||||
|
|
|
@ -28,8 +28,6 @@ en:
|
|||
|
||||
conflict: "This already exists"
|
||||
|
||||
invalid_otp: "The code you entered was invalid."
|
||||
|
||||
parameter_error: "%{parameter} is required."
|
||||
|
||||
invalid_parameter: "Invalid parameter"
|
||||
|
|
Loading…
Reference in a new issue