X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FUserController.php;h=ef7f7be1d2e50da98e10f6f6423febade9c54731;hb=0722c496ca63f30937427e3bf8fbdd5cfee2c83d;hp=1d4ed1826ee114d91a7ad242b0b12b7c31b927d8;hpb=868eea06f69fbfdb361d5c9142ecce98918d927b;p=syj.git diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php index 1d4ed18..ef7f7be 100644 --- a/application/controllers/UserController.php +++ b/application/controllers/UserController.php @@ -1,5 +1,5 @@ _helper->SyjSession->login($user->id); + $this->_helper->SyjUserManager->validate($user->pseudo, $user->password); $data = array('pseudo' => $user->pseudo); $this->_helper->SyjApi->setBodyJson($data)->setCode(200);