getUserModel()->getEntity(['id' => $formDatas['id']]); if (!password_verify($formDatas['passwd'], $entity->passwd)) { throw new \Exception("암호가 맞지않습니다."); } //Session에 인증정보 설정 $this->signin_process($entity); return $entity; } }