cakephp.jp ð®õµ½èA}j Að��½èAR~ jeBðàè ��½èÆFXµÄ��½È[B
¡ñAvµÔèÉVKvWFNgðCakeÅÂèÍ��ßܵ½B
»êÙÇÅVÌàÌÅÍÈÄæ��ÆA2.3.10ÅìèÍ��ß椩ÆvÁ½ÌÅ·ªA¿åÁÆÍÜÁ½ÌÅ�}�}É��Ä�N«Ü·B
CakePHP 2.X pÉÍA` [gAF
"VvÈFØƳFÌAvP[V"
http://book.cakephp.org/2.0/ja/tutorials-and-examples/blog-auth-example/auth.html
ª èÜ·ªA�}êªà¤2.4.X��áÈ��ƮìµÈ��R[hÉÈÁÄ��ܷB2.3.10Å�}Ì` [gAðÍ��߽çÍÜèܵ½B
` [gAÅÍA
ªÅ
App::uses('SimplePasswordHasher', 'Controller/Component/Auth');
beforeSave()àÅ
$passwordHasher = new SimplePasswordHasher();
$this->data[$this->alias]['password'] = $passwordHasher->hash($this->data[$this->alias]['password']);
ÆÈÁÄ��ܷªA2.3.10ÅÍ�}�}ªA
$this->data[$this->alias]['password'] = AuthComponent::password($this->data[$this->alias]['password']);
Æ·éKvª éçµï¿½ï¿½Å·B