我试图限制有在登录数据库的用户表的功能行中“请求”的用户。Laravel登录限制与特定的数据库记录
AuthenticatesUsers.php
protected function attemptLogin(Request $request)
{
return $this->guard()->attempt(
$this->credentials($request), $request->has('remember')
);
}
我该如何去做到这一点?
你到底想要做什么? – EddyTheDove
对不起,延迟回复,数据库中有一行叫做函数,我想限制人们使用“请求”功能登录。 –
哦,我明白了。你在哪里做这个?哪个控制器? – EddyTheDove