May 2020 / Coding Laravel 7: How to override validateCredentials for custom Login Validation To create a custom login validation by adding checks in Laravel 5, 6 or 7, the validateCredentials method from the EloquentUserProvider must be extended.