about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorMarty McGuire <schmartissimo@gmail.com>2018-06-30 04:11:38 -0700
committerEugen Rochko <eugen@zeonfederated.com>2018-06-30 13:11:38 +0200
commit8fea9cc3112968d90ba4df02a90aa3a031a5f3a9 (patch)
treeb499a09ef2aada9de91264e85e2aba6e95f6ca13 /app/controllers
parentdfd9cd463d4eca8f023182b0bb2f2536236e1a6e (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.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/concerns/signature_verification.rb4
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