md5($request['name'] . $request['passwd], true);
public function getAuthPassword()
{
return $this->passwd;
}
public function username()
{
return 'name';
}
public function authenticate()
{
if (Auth::attempt(['email' => $email, 'password' => $password])) {
// Аутентификация успешна...
return redirect()->intended('dashboard');
}
}