Symfony

Symfony: Only allow certain user roles to log in

With a simple configuration setting you can allow only cetain user roles to log in on your page without doing this check by yourself.