1
0
Fork 0
forked from fedi/mastodon

Downgrade signature verification debug logging from warn to debug (#26812)

This commit is contained in:
Claire 2023-09-06 12:17:22 +02:00 committed by GitHub
parent d881988372
commit 09ec9c6aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ module SignatureVerification
private
def fail_with!(message, **options)
Rails.logger.warn { "Signature verification failed: #{message}" }
Rails.logger.debug { "Signature verification failed: #{message}" }
@signature_verification_failure_reason = { error: message }.merge(options)
@signed_request_actor = nil