이 나 코드를하다 그/그녀가 내가 활성화가 필요하거나 잘못된 사용자 이름이나 암호로 로그인 실패 undrestand 수있는 방법을 활성으로 활성화되지 않습니다 때 사용자에게 경고합니다Laravel 인증 로그인 반환 특정 오류
public function login_Post()
{
if (Auth::user()->attempt(array('email' => Input::get('email'), 'password' => Input::get('password'), 'active' => 1)))
{
Event::fire('users.login');
return Redirect::to('/')->with('message', 'succsed');
}
else
return Redirect::to('user/login')->withInput(Input::except('password'));
}
?