cakePHP1.2ã§ãAuthã³ã³ãã¼ãã³ãã¯ããã¹ã¯ã¼ããæå·åããç¶æ ã§èªè¨¼ã試ã¿ã¾ãã ãã®çºãã¦ã¼ã¶ã¼ãã¼ã¿ãæ¿å ¥ããéã«ããæå·åããããã¹ã¯ã¼ãã®ç¶æ ã§ã®ä¿åãå¿ è¦ã¨ãªãã¾ãã æã£ã¦ãããã¼ã¿ãä¸è¨ã®ãããªå(['User']['username']ç)ã§ããã°ã ä¸è¨ã®è¨è¿°ã«ã¦æå·åãå¯è½ã§ããããã¢ãã«ã«æ¸¡ãã¦ä¿åããã°ã Authã³ã³ãã¼ãã³ãã«å¯¾å¿ãããã¨ãã§ãã¾ãã (æããããã¹ã¯ã¼ãã®æå·åã«ã¯ãusernameãpasswordã対ã§å¿ è¦ï¼) $data['User']['username'] = 'ã¦ã¼ã¶ã¼å'; $data['User']['password'] = 'ãã¹ã¯ã¼ã'; //ãã¹ã¯ã¼ããæå·åããã¦æ»ã£ã¦ãã debug($this->Auth->hashPasswords($data)); ã§ããä¸è¨ã®ãããªå³å¯ãªåãä¸è´ããªãå ´
{{#tags}}- {{label}}
{{/tags}}