From: Alexander Ebert Date: Fri, 11 Sep 2020 11:42:16 +0000 (+0200) Subject: Removed the AJAX check of the password X-Git-Tag: 5.3.0_Beta_1~35 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c0a5b82028c41b9bb18cf6f13843f490e8eae24f;p=GitHub%2FWoltLab%2FWCF.git Removed the AJAX check of the password Fixes #3497 --- diff --git a/com.woltlab.wcf/templates/register.tpl b/com.woltlab.wcf/templates/register.tpl index 056b74dd98..cdb556ba3f 100644 --- a/com.woltlab.wcf/templates/register.tpl +++ b/com.woltlab.wcf/templates/register.tpl @@ -234,7 +234,6 @@ }); 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} diff --git a/wcfsetup/install/files/js/WCF.User.js b/wcfsetup/install/files/js/WCF.User.js index cd094f3d9d..45c5964787 100644 --- a/wcfsetup/install/files/js/WCF.User.js +++ b/wcfsetup/install/files/js/WCF.User.js @@ -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({ /** diff --git a/wcfsetup/install/files/lib/data/user/UserRegistrationAction.class.php b/wcfsetup/install/files/lib/data/user/UserRegistrationAction.class.php index f520ed62cd..5d8280d821 100644 --- a/wcfsetup/install/files/lib/data/user/UserRegistrationAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserRegistrationAction.class.php @@ -33,6 +33,8 @@ class UserRegistrationAction extends UserAction { /** * Validates the validate password function. + * + * @deprecated 5.3 */ public function validateValidatePassword() { $this->readString('password');