我收到错误这样找不到验证处理checkCurrentPassword为current_password
警告(512):找不到验证处理checkCurrentPassword 为current_password [CORE /蛋糕/型号/识别/ CakeValidationRule.php ,281线]
我user.php的
public function validate_passwords() {
return check($this->data[$this->alias]['confirm_password'], $this->data[$this->alias]['password']);
}
如果有人知道这个帮助我 – Gowthaman
你应该显示你的代码 – Poonam
你应该写你的控制器,视图和模型代码。 –