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