title: Rewrite login_check functionality in Symfony
body: <p>How do I add an extra check to the default Symfony login_check? Most documentation is about how to customize the login form, but in this case I only want to add an extra check whether a user has the the <code>status</code> active. </p>
  
  <p>I assume that I have to redirect the route <code>pattern:  /login_check</code> to my own security check, but what should this function look like?  It seems I can't find any documentation on that. </p>