about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-04-10 20:28:43 +0200
committerGitHub <noreply@github.com>2019-04-10 20:28:43 +0200
commita9f130b8d8e1d92a10cb92b1295b12d274f3139c (patch)
tree58de8b07c047a8fd9545519cfcfcfd5c7ca0a2c1 /app/models
parent793b0513eb14c08443e11202b3ffbee141e33df7 (diff)
Fix Keybase verification using wrong domain for remote accounts (#10547)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/account_identity_proof.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/account_identity_proof.rb b/app/models/account_identity_proof.rb
index 5871d0e84..10b66cccf 100644
--- a/app/models/account_identity_proof.rb
+++ b/app/models/account_identity_proof.rb
@@ -30,12 +30,12 @@ class AccountIdentityProof < ApplicationRecord
 
   delegate :refresh!, :on_success_path, :badge, to: :provider_instance
 
-  private
-
   def provider_instance
     @provider_instance ||= ProofProvider.find(provider, self)
   end
 
+  private
+
   def queue_worker
     provider_instance.worker_class.perform_async(id)
   end