summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/data_handler/user_data_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/data_handler/user_data_handler.rb')
-rw-r--r--lib/chef/chef_fs/data_handler/user_data_handler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/chef_fs/data_handler/user_data_handler.rb b/lib/chef/chef_fs/data_handler/user_data_handler.rb
index 2b50ce38d8..f6859faccd 100644
--- a/lib/chef/chef_fs/data_handler/user_data_handler.rb
+++ b/lib/chef/chef_fs/data_handler/user_data_handler.rb
@@ -8,6 +8,7 @@ class Chef
normalize_hash(user, {
'name' => remove_dot_json(entry.name),
'username' => remove_dot_json(entry.name),
+ 'display_name' => remove_dot_json(entry.name),
'admin' => false,
'json_class' => 'Chef::WebUIUser',
'chef_type' => 'webui_user',