sylius_admin_login:
    path: /login
    methods: [GET]
    defaults:
        _controller: sylius.controller.security:loginAction
        _sylius:
            template: SyliusAdminBundle:Security:login.html.twig
            permission: true

sylius_admin_login_check:
    path: /login-check
    methods: [POST]
    defaults:
        _controller: sylius.controller.security:checkAction

sylius_admin_logout:
    path: /logout
    methods: [GET]

sylius_admin_login:
    path: /login
    methods: [GET]
    defaults:
        _controller: sylius.controller.security:loginAction
        _sylius:
            template: SyliusAdminBundle:Security:login.html.twig
            permission: true
            logged_in_route: sylius_admin_dashboard

sylius_admin_login_check:
    path: /login-check
    methods: [POST]
    defaults:
        _controller: sylius.controller.security:checkAction

sylius_admin_logout:
    path: /logout
    methods: [GET]

Disable the access to login page for already logged in customers/admins
Disable the access to login page for already logged in customers/admins
