Hi guys, is a pleasure to join this group!
I have some questions...
- The Croogo 1.4 beta is fully compatible with the CakePHP 2.x?
- My another question, sorry I did not understand, but what is the
intent of this line? Why set null after insert data into database?
https://github.com/croogo/croogo/blob/1.4/Controller/UsersController.php#L175
Line: 175
$this->request->data['User']['password'] = null;
And a simple suggestion.. What do you think of the change on line 166
https://github.com/croogo/croogo/blob/1.4/Controller/UsersController.php
# L166
Current:
if (! empty ($ this-> request-> data)) {...
Change:
if (! empty ($ this-> request-> data) && $ this-> request-> is
('post')) {...
Thank you very much! ;)
(Sorry for my bad english, it is not my native language.)