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