瀏覽代碼

logo admin

feature/symfony6.1
Charly 3 年之前
父節點
當前提交
63ad72c6c5
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      Controller/Security/SecurityAdminController.php

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

@@ -37,6 +37,11 @@ class SecurityAdminController extends AbstractController
// the same domain as the rest of the Dashboard)
'translation_domain' => 'admin',

// the title visible above the login form (define this option only if you are
// rendering the login template in a regular Symfony controller; when rendering
// it from an EasyAdmin Dashboard this is automatically set as the Dashboard title)
'page_title' => '<img class="logo-admin" src="assets/img/' . $this->getParameter('app.admin.logo') . '" >',

// the string used to generate the CSRF token. If you don't define
// this parameter, the login form won't include a CSRF token
'csrf_token_intention' => 'authenticate',

Loading…
取消
儲存