When I set failure_forward to true in my firewall configuration, I get
a "Call to a member function get() on a non-object" in my controller.
This is because the call to $this->get('request')->getSession()
returns null. Is this a bug in Symfony or is the FOSUserBundle the
cause here?

This is my firewall configuration, it's almost exactly as in the
example:

  firewalls:
        main:
            pattern:    .*
            form_login:
                provider: fos_userbundle
                check_path: /login_check
                login_path: /login
                failure_forward: true
            logout: true
            anonymous: true

-- 
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