Open xingxuewen opened 4 years ago
目前系统里是用 email 字段登录;代码可见 vendor/laravel/framework/src/Illuminate/Foundation/Auth/AuthenticatesUsers.php
protected function validateLogin(Request $request)
{
$this->validate($request, [
$this->username() => 'required|string',
'password' => 'required|string',
]);
}
现在是用户名登录 但总是匹配手机号登录