Auth MD5 password on the Cake 3 ?
Guys, I'm studying the Cakephp 3, however, I am unable to set the setting so that the system can log in with md5 passwords. I'll put my codes here: AppController: https://gist.github.com/anonymous/bc94065a0ff60b555fe7 LegacyPasswordHasher: https://gist.github.com/anonymous/261e281a37fda9164f63 UsersController: https://gist.github.com/anonymous/ecc811c842f564f6f251 I think it has no importance at login time, but the beforeSave did not convert the password when creating a user, then, to put the TBM code! UsuariosTable: https://gist.github.com/anonymous/f71543419b037625adec I think these are the files that need to set up, anyone know what might be going wrong? !! Auth's always more work for me! rsrssrrs! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: Cake 3 - Modelless Forms with nested forms / elements
Hi, Create the form name in /src/UserForm1.php namespace App\Form; use Cake\Form\Form; use Cake\Validation\Validator; class UserForm1 extends Form { protected function _buildValidator(Validator $validator) { return $validator ->notEmpty('annul_income', 'please enter the Annual income') ->add('annul_income', 'annul_income number should be numeric', ['rule' => 'numeric']) ->notEmpty('terms', 'You must accept our terms of service') ->add('terms', [ 'equalTo' => [ 'rule' => ['equalTo', '1'], 'message' => 'You must accept our terms of service' ] ]); } public function setErrors($errors) { $this->_errors = $errors; } } In Controller File: - $rate = new UserForm1(); $this->set(compact('rate')); Don't forgot to add use App\Form\UserForm1; Top of the controller -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: I need some help with CakeDC Search
See http://sandbox3.dereuromark.de/sandbox/search-examples and the code to it for example. Am Sonntag, 31. Mai 2015 23:39:15 UTC+2 schrieb Jekill CR: > > > *I need some help with CakeDC Search i configured the plugin with the > instructions and nothing happens.* > > Only show the text of the search on the Web Browser search input. > > Please if someone have a working configuration and can share with me. > > thanks in advance! > > > I need the most simple configuration nothing special. > > Sorry for my bad english. > > Jesus Castro - Costa Rica > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: How to use Plugins in CakePHP 2.6..??
http://book.cakephp.org/2.0/en/plugins.html Am Sonntag, 31. Mai 2015 23:39:15 UTC+2 schrieb Solomon Gebreslasie: > > Hello there, > > My name is Solomon G. I am making E-commerce website for a friend and I > was wondering if some one could tell me how to use cakePHP Plugins..?? > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.