diff --git a/app/views/about/index.html.erb b/app/views/about/index.html.erb
index e669e15596c..67b9d3240fe 100644
--- a/app/views/about/index.html.erb
+++ b/app/views/about/index.html.erb
@@ -23,7 +23,7 @@
<%= user.username %>
- <% if user.name.present? %>
+ <% if user.name.present? && SiteSetting.enable_names %>
- <%= user.name %>
<% end %>
@@ -44,7 +44,7 @@
<%= user.username %>
- <% if user.name.present? %>
+ <% if user.name.present? && SiteSetting.enable_names %>
- <%= user.name %>
<% end %>