diff --git a/config/locales/en.yml b/config/locales/en.yml
index 08a02f19e0f224c5fca83af8d757fddd71117700..8a22bcef3fa6762d7177ced7b9ecab32f3cb936a 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -38,7 +38,7 @@ en:
       invalid: "Invalid email or password."
       not_found_in_database: "Invalid email or password."
     mailer:
-      two_factor_authentication:
+      two_factor_authentication_code:
         subject: "Two-factor authentication code"
         text_html: "Your two-factor authentication code for %{university} is %{code}<br>It will expire in 5 minutes."
     sessions: