Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions app/models/concerns/user_access_key_overrides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def valid_password?(password)
user_uuid: uuid,
)
@password = password if result
log_password_verification_failure unless result
result
end

Expand Down Expand Up @@ -82,15 +81,4 @@ def authenticatable_salt
encrypted_password_digest,
).password_salt
end

private

def log_password_verification_failure
metadata = {
event: 'Failure to validate password',
uuid: uuid,
timestamp: Time.zone.now,
}
Rails.logger.info(metadata.to_json)
end
end