By default, the login feature uses checking based on email instead of a username. Then what if we want to check based on username? Here's how. On the file Controller\Auth\LoginController.php add the following methods: public function username() { ...
·