Fix Keybase verification using wrong domain for remote accounts (#10547)
This commit is contained in:
parent
793b0513eb
commit
a9f130b8d8
6 changed files with 23 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue