浏览代码

translation login admin

feature/symfony6.1
Charly 3 年前
父节点
当前提交
dc7f608930
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      Controller/Security/SecurityAdminController.php

+ 3
- 3
Controller/Security/SecurityAdminController.php 查看文件

@@ -50,13 +50,13 @@ class SecurityAdminController extends AbstractController
'target_path' => $this->generateUrl('app_admin_dashboard'),

// the label displayed for the username form field (the |trans filter is applied to it)
'username_label' => 'Your username',
'username_label' => 'Email',

// the label displayed for the password form field (the |trans filter is applied to it)
'password_label' => 'Your password',
'password_label' => 'Mot de passe',

// the label displayed for the Sign In form button (the |trans filter is applied to it)
'sign_in_label' => 'Log in',
'sign_in_label' => 'Connexion',

// the 'name' HTML attribute of the <input> used for the username field (default: '_username')
'username_parameter' => 'email',

正在加载...
取消
保存