> The security listeners are only attached when the request matches the
> pattern of the firewall. So you need to use an url of the form
> /admin/logout to be in the scope of the listener. This can be done in
> the logout configuration.

Thanks!

The following logout configuration worked fine for me:

firewalls:
    main:
        pattern: /admin.*
        http-basic: true
        logout: { path: /admin/logout, target: / }

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to