Skip to content

Unable to find the controller for path "/logout". The route is wrongly configured. #155

@PanickingLynx

Description

@PanickingLynx
Q A
Bug? yes
New Feature? no
Community Bundle Version 2.0.X-dev
Sulu Version 2.4.4
Browser Version Microsoft Edge 103.0.1264.77 64-Bit

Actual Behavior

When calling the route /logout Symfony returns the error: Unable to find the controller for path "/logout". The route is wrongly configured.

Expected Behavior

The session cookies should be revoked and the login session should be ended.

Steps to Reproduce

  1. Set up the logout route as mentioned in the documentation.
  2. Open a Session through your login form.
  3. Call the logout route which is www.example.com/logout by default.
  4. Get the error.

Possible Solutions

Maybe move the logout route to the same area as the protection / firewall zone? But this still didn't work on ^/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions