-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Issue with development and logging in with WDT #368
Comments
You should not put the web debug toolbar in the scope of the firewall to avoid this. |
Closing as it is not related to FOSUserBundle anyway but to SecurityBundle |
@joshuataylor, anyway you can always exclude wdt or profiler via adding dev firewall: dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false @stof, don't you think that that should be added to docs in section like "securing whole app"? |
I added some rules in security.yml to resolve this. Under access_control:
|
For the benefit of anyone else coming across this issue, be sure to add the |
dev firewall section should be first FriendsOfSymfony/FOSUserBundle#368
Hello is this related: FriendsOfSymfony/FOSHttpCache#287 ? |
So when you use the development environment, and logging into the system (say you went to index_dev.php/test), you'll be redirected to:
index_dev.php/_wdt/4e95412bc6871
Rather than the page (index_dev.php/test).
I expect this is because it thinks you want to log into the web profiler toolbar.
Anyone have a workaround for this?
The text was updated successfully, but these errors were encountered: