Commit 9129aaef authored by Rajendra Kadam's avatar Rajendra Kadam

CHange changelog message and pass current_user as author in audit event

parent e25e6960
---
title: Use Keys::CreateService to create ssh keys for a user
title: Record audit event when creating a new SSH Key via the API
merge_request: 33859
author: Rajendra Kadam
type: fixed
......@@ -14,7 +14,7 @@ module EE
end
def audit_event_service
::AuditEventService.new(user,
::AuditEventService.new(current_user,
user,
action: :custom,
custom_message: 'Added SSH key',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment