FosUserBundle Different Login Pages
问题 I'v searching for hours and i did not find really how can we override login template for user and the admin side. I'v created an admin firewall in security.yml firewalls: admin: pattern: /admin(.*) form_login: provider: fos_userbundle csrf_provider: form.csrf_provider login_path: /admin/login check_path: /admin/login_check default_target_path: /admin logout: path: /admin/logout target: / anonymous: true access_control: - { path: ^/admin/login$, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: