Merge remote-tracking branch 'refs/remotes/origin/2.1'
authorMarcel Werk <burntime@woltlab.com>
Sat, 8 Apr 2017 11:58:06 +0000 (13:58 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sat, 8 Apr 2017 11:58:06 +0000 (13:58 +0200)
# Conflicts:
# com.woltlab.wcf/templates/register.tpl

com.woltlab.wcf/templates/register.tpl

index 3985962bc5284abd69005e8dff3e75cf58c7652c..7d1ec34efac6aba479ac3f062bd0aed0a310d57e 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, {
+               new WCF.User.Registration.Validation.Username($('#{@$randomFieldNames[username]}'), null, {
                        minlength: {@REGISTER_USERNAME_MIN_LENGTH},
                        maxlength: {@REGISTER_USERNAME_MAX_LENGTH}
-               }));
+               });
        });
 </script>