Redirect user to login page on access denied in symfony

Add the following line to your security config(app/config/security.yml)

security:
	access_denied_url: /login