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

Configuration option "login_path" is not used #57

Open
adrienlucas opened this issue Jan 17, 2014 · 0 comments
Open

Configuration option "login_path" is not used #57

adrienlucas opened this issue Jan 17, 2014 · 0 comments

Comments

@adrienlucas
Copy link

According to the documentation :

login_path: path to redirect to when login needed.

It seems that it is actually not used by the bundle...
At least, setting it doesn't produce any effect.

Here is a sample of my app/config/security.yml (in case i just didn't get it):

security:
    #...
    firewalls:
        #...
        secured_area:
            switch_user: true
            anonymous: ~
            pattern:    ^/
            form_login:
                login_path: extranet_login
                check_path: extranet_security_check
            logout:
                path:   extranet_logout
                target: extranet_login
            http_basic:
                realm: "Espace Prive"
            trusted_sso:
                manager: my_cas
                login_path: /login
                check_path: /login_check
                login_action: ExtranetBundle:Default:login
                logout_action: ExtranetBundle:Default:logout
                create_users: false
                created_users_roles: [ROLE_USER]

Can someone enlighten this out please?

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