Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PanickingLynx opened this issue Aug 5, 2022 · 1 comment

Comments

@PanickingLynx
Copy link

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 ^/.

@PanickingLynx
Copy link
Author

At the moment I have to delete the session cookies manually to "log-out". Forgot to add that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant