05.02.2014 - Redirect user to login page on access denied in symfony. Add the following line to your security config(app/config/security.yml) security: .