diff options
author | Marty McGuire <schmartissimo@gmail.com> | 2018-06-30 04:11:38 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-30 13:11:38 +0200 |
commit | 8fea9cc3112968d90ba4df02a90aa3a031a5f3a9 (patch) | |
tree | b499a09ef2aada9de91264e85e2aba6e95f6ca13 | |
parent | dfd9cd463d4eca8f023182b0bb2f2536236e1a6e (diff) |
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.
-rw-r--r-- | app/controllers/concerns/signature_verification.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/concerns/signature_verification.rb b/app/controllers/concerns/signature_verification.rb index 41aa1c8a6..4d77fa432 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 |