diff --git a/app/assets/javascripts/discourse/templates/modal/create-account.hbs b/app/assets/javascripts/discourse/templates/modal/create-account.hbs
index 8b4ead4a8..d3b005267 100644
--- a/app/assets/javascripts/discourse/templates/modal/create-account.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/create-account.hbs
@@ -35,17 +35,20 @@
{{/if}}
-
- |
-
- {{text-field value=accountName id="new-account-name"}}
- {{input-tip validation=nameValidation}}
+ {{#if siteSettings.enable_names}}
+ |
+
+
|
-
-
+
+ {{text-field value=accountName id="new-account-name"}} {{input-tip validation=nameValidation}}
+ |
+
+
|
|
-
+
+ {{/if}}
{{#if passwordRequired}}