I'm currently working on my Laravel app and to prevent spam I decided that only active users are able to login.I'm currently using Laravel's login system just like in Laravel's official website tutorial, here's my form action:
<form class="form-horizontal" role="form" method="POST" action="{{ url('/auth/login') }}">
This works completely fine, however I'd like to check the user's active, if not active it would be redirected to the activation page, otherwise it would login.Is there a simple way to do this or am I obligated to make a new controller, routes and more verifications? Thank you.
Edit: Forgot to mention that I have a 'active' column in my database.