From c0a5b82028c41b9bb18cf6f13843f490e8eae24f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 11 Sep 2020 13:42:16 +0200 Subject: [PATCH] Removed the AJAX check of the password Fixes #3497 --- com.woltlab.wcf/templates/register.tpl | 1 - wcfsetup/install/files/js/WCF.User.js | 1 + .../files/lib/data/user/UserRegistrationAction.class.php | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) 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'); -- 2.20.1