Mark Scherer 11 years ago
parent
commit
5fe3bc5fc9
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/Model/Behavior/PasswordableBehavior.php

+ 0 - 6
src/Model/Behavior/PasswordableBehavior.php

@@ -286,12 +286,6 @@ class PasswordableBehavior extends Behavior {
 				}
 				}
 				return true;
 				return true;
 			}
 			}
-			// Make sure we trigger validation if allowEmpty is set but we have the password field set
-			if ($new) {
-				if ($this->_config['confirm'] && !$entity->get($formFieldRepeat)) {
-					$entity->errors($formFieldRepeat, __d('tools', 'valErrPwdNotMatch'));
-				}
-			}
 		}
 		}
 
 
 		// Update whitelist
 		// Update whitelist