Laravel 8 giriş e-postası yerine kullanıcı adını kontrol edin
Kod örnekleri
2
0
laravel e-posta yerine kullanıcı adı kullanıyor
All we need is add a method in app/Http/Controllers/Auth/LoginController.php:
/**
* Get the login username to be used by the controller.
*
* @return string
*/
public function username()
{
return 'username';
}