{message: "The given data was invalid.", errors: {email: ["The email field is required."]}
errors:{email: ["The email field is required."]}message:"The given data was invalid."
POST http://www.eidetika-admin.com/api/login 422 (Unprocessable Entity)
public function login()
{
$this->validateLogin(request());
return $this->proxy->proxy('password',[
'username'=>request('username'),
'password'=>request('password'),
'scope'=>'',
]);
}
username我并没有像老师那样取的是email,因为我vue用的也是username,请问是什么原因呢,我一直跟着视频走