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 ...@@ -53,7 +53,6 @@ class AuditEventService
private private
attr_accessor :authentication_event
attr_reader :ip_address attr_reader :ip_address
def build_author(author) def build_author(author)
...@@ -99,11 +98,11 @@ class AuditEventService ...@@ -99,11 +98,11 @@ class AuditEventService
end end
def mark_as_authentication_event! def mark_as_authentication_event!
self.authentication_event = true @authentication_event = true
end end
def authentication_event? def authentication_event?
authentication_event @authentication_event
end end
def log_security_event_to_database 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