我试图用这个验证用户 - Laravel
//Attempt to auth the user
if(! auth()->attempt(request(['email','password' => Hash::make(request('password'))])))
{
//If not redirect back
return back()->withErrors([
'message' => 'Please check your email or password'
]);
}
验证登录时使用,但我得到这个错误..
QueryException在Connection.php行647: SQLSTATE在 'where子句' 1054未知列 '$ 2Y $ 10 $ 5ysCvqUiloxmtRo2comd9uaiaNkLJ0eiW6x5pDFGWESAbXr5jm5N6'[42S22]::柱未找到(SQL:SELECT * FROM
users
其中$2y$10$5ysCvqUiloxmtRo2comd9uaiaNkLJ0eiW6x5pDFGWESAbXr5jm5N6
为空极限1)
可以请有人帮我这个。 谢谢:)
非常感谢。 – Martina