Skip to content

Commit

Permalink
[UserBundle] Form 2fa login title translation
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoiriert committed May 24, 2024
1 parent f16e644 commit 41a2773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ auth_code:
email: "Enter the code received by email"
totp: "Enter the code from your authenticator application"

form:
2fa_login:
title: 'Two factor authentication'

resend: "Resend code"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="login-box">
<div class="login-logo">
<a href="{{ path('sonata_admin_dashboard') }}">
<span>Two factor authentication</span>
<span> {{ "form.2fa_login.title"|trans({}, 'SchebTwoFactorBundle') }}</span>
</a>
</div>
<div class="login-box-body">
Expand Down

0 comments on commit 41a2773

Please sign in to comment.