where('username','=',$value)->first(); if ($user) { // dd($user); $this->validationSet('user',$user); return true; } return false; } }