Currently, under Symfony2, when user is logging in, there is redirection to homepage. Is there a way to do no redirection and stay at the current page ?
Thanks.
Here is the security part
firewalls:
dev:
pattern: ^/(_(profiler|wdt|error)|css|images|js)/
security: false
main:
pattern: ^/
anonymous: true
provider: user
form_login:
login_path: /
always_use_default_target_path: false
default_target_path: /
check_path: /securite/connexion/check
logout:
path: app_security_logout
target: app_homepage