Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function login()
- {
- if($this->request->is('post')){
- debug($this->Auth->login());
- if($this->Auth->login()){
- echo 'true';
- } else {
- echo 'Usuário/Senha inválidos';
- }
- }
- $this->autoRender = false;
- }
Advertisement
Add Comment
Please, Sign In to add comment