Removed the AJAX check of the password
authorAlexander Ebert <ebert@woltlab.com>
Fri, 11 Sep 2020 11:42:16 +0000 (13:42 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 11 Sep 2020 11:42:16 +0000 (13:42 +0200)
Fixes #3497

com.woltlab.wcf/templates/register.tpl
wcfsetup/install/files/js/WCF.User.js
wcfsetup/install/files/lib/data/user/UserRegistrationAction.class.php

index 056b74dd9874f4e40b717dabbdb473a57194d31f..cdb556ba3f6c33edb5303c644d61c3c1a53402cb 100644 (file)
                });
                
                new WCF.User.Registration.Validation.EmailAddress($('#{@$randomFieldNames[email]}'), $('#{@$randomFieldNames[confirmEmail]}'), null);
-               new WCF.User.Registration.Validation.Password($('#{@$randomFieldNames[password]}'), $('#{@$randomFieldNames[confirmPassword]}'), null);
                new WCF.User.Registration.Validation.Username($('#{@$randomFieldNames[username]}'), null, {
                        minlength: {@REGISTER_USERNAME_MIN_LENGTH},
                        maxlength: {@REGISTER_USERNAME_MAX_LENGTH}
index cd094f3d9daf07e7be0c4377db8c1282e2a6978b..45c596478796d69f199f7b4772e0ccdabee95b72 100644 (file)
@@ -1628,6 +1628,7 @@ WCF.User.Registration.Validation.EmailAddress = WCF.User.Registration.Validation
  * Password validation for registration.
  * 
  * @see        WCF.User.Registration.Validation
+ * @deprecated 5.3
  */
 WCF.User.Registration.Validation.Password = WCF.User.Registration.Validation.extend({
        /**
index f520ed62cd0ca4cb83e6124fb78411c427119250..5d8280d821069aaba6efbea0356e2d2eea566d92 100644 (file)
@@ -33,6 +33,8 @@ class UserRegistrationAction extends UserAction {
        
        /**
         * Validates the validate password function.
+        * 
+        * @deprecated 5.3
         */
        public function validateValidatePassword() {
                $this->readString('password');