Fix Keybase verification using wrong domain for remote accounts (#10547)

This commit is contained in:
Eugen Rochko
2019-04-10 20:28:43 +02:00
committed by GitHub
parent 793b0513eb
commit a9f130b8d8
6 changed files with 23 additions and 18 deletions

View File

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