summaryrefslogtreecommitdiff
path: root/lib/api/users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r--lib/api/users.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb
index bc2362aa72e..b3870e0c7c8 100644
--- a/lib/api/users.rb
+++ b/lib/api/users.rb
@@ -353,7 +353,7 @@ module API
success Entities::UserFull
end
get do
- present current_user, with: Entities::UserFull
+ present current_user, with: Entities::UserFull, sudo_identifier: sudo_identifier
end
desc "Get the currently authenticated user's SSH keys" do