Browse Source

logo admin

feature/symfony6.1
Charly 3 years ago
parent
commit
63ad72c6c5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Controller/Security/SecurityAdminController.php

+ 5
- 0
Controller/Security/SecurityAdminController.php View File

@@ -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…
Cancel
Save