Browse Source

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.
master
Marty McGuire 6 years ago
committed by Eugen Rochko
parent
commit
8fea9cc311
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/controllers/concerns/signature_verification.rb

+ 2
- 2
app/controllers/concerns/signature_verification.rb View File

@ -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

Loading…
Cancel
Save