diff --git a/app/assets/javascripts/discourse/controllers/create-account.js.es6 b/app/assets/javascripts/discourse/controllers/create-account.js.es6 index 1ab532c1725..e990bcfb640 100644 --- a/app/assets/javascripts/discourse/controllers/create-account.js.es6 +++ b/app/assets/javascripts/discourse/controllers/create-account.js.es6 @@ -70,20 +70,13 @@ export default DiscourseController.extend(ModalFunctionality, { return I18n.t('user.password.instructions', {count: Discourse.SiteSettings.min_password_length}); }.property(), - // Validate the name + // Validate the name. It's not required. nameValidation: function() { - // If blank, fail without a reason - if (this.blank('accountName')) return Discourse.InputValidation.create({ failed: true }); - if (this.get('accountPasswordConfirm') === 0) { this.fetchConfirmationValue(); } - // Looks good! - return Discourse.InputValidation.create({ - ok: true, - reason: I18n.t('user.name.ok') - }); + return Discourse.InputValidation.create({ok: true}); }.property('accountName'), // Check the email address