From 8fea9cc3112968d90ba4df02a90aa3a031a5f3a9 Mon Sep 17 00:00:00 2001 From: Marty McGuire Date: Sat, 30 Jun 2018 04:11:38 -0700 Subject: [PATCH] Typo in signature verification failure logging (#7916) `@signature_verification_failure_reason` is used in most places but`@signed_verification_failure_reason` appears in two places. Likely those errors are not returned. --- app/controllers/concerns/signature_verification.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/concerns/signature_verification.rb b/app/controllers/concerns/signature_verification.rb index 41aa1c8a64..4d77fa4324 100644 --- a/app/controllers/concerns/signature_verification.rb +++ b/app/controllers/concerns/signature_verification.rb @@ -58,11 +58,11 @@ module SignatureVerification @signed_request_account = account @signed_request_account else - @signed_verification_failure_reason = "Verification failed for #{account.username}@#{account.domain} #{account.uri}" + @signature_verification_failure_reason = "Verification failed for #{account.username}@#{account.domain} #{account.uri}" @signed_request_account = nil end else - @signed_verification_failure_reason = "Verification failed for #{account.username}@#{account.domain} #{account.uri}" + @signature_verification_failure_reason = "Verification failed for #{account.username}@#{account.domain} #{account.uri}" @signed_request_account = nil end end