Commit b13cdab0 authored by Etienne Baqué's avatar Etienne Baqué

Audit::Details: Fixed typo in method name

parent 11c06054
...@@ -31,7 +31,7 @@ module Audit ...@@ -31,7 +31,7 @@ module Audit
when :remove when :remove
"Removed #{target_name}" "Removed #{target_name}"
when :failed_login when :failed_login
"Failed to login with #{oath_label} authentication" "Failed to login with #{oauth_label} authentication"
when :custom_message when :custom_message
detail_value detail_value
else else
...@@ -60,7 +60,7 @@ module Audit ...@@ -60,7 +60,7 @@ module Audit
@details.values.first @details.values.first
end end
def oath_label def oauth_label
Gitlab::Auth::OAuth::Provider.label_for(detail_value).upcase Gitlab::Auth::OAuth::Provider.label_for(detail_value).upcase
end end
end end
......
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