Laravel логин от имени пользователя без электронной почты
Примеры кода
2
0
laravel, использующий имя пользователя вместо электронной почты
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';
}