Commit 67a2c910 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'dblessing-auth-events-cleanup' into 'master'

Cleanup audit event service attributes

See merge request gitlab-org/gitlab!42718
parents b8bfd637 f4dd4c7a
......@@ -53,7 +53,6 @@ class AuditEventService
private
attr_accessor :authentication_event
attr_reader :ip_address
def build_author(author)
......@@ -99,11 +98,11 @@ class AuditEventService
end
def mark_as_authentication_event!
self.authentication_event = true
@authentication_event = true
end
def authentication_event?
authentication_event
@authentication_event
end
def log_security_event_to_database
......
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