diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-03-30 12:36:24 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-30 12:36:24 +0100 |
commit | 4444d8f9b3fac33caf3d4732e5f6112c5321d6ea (patch) | |
tree | c1fc1d30ed47bdc324fc7acddaaf40bf0a5a28d3 /app/lib/proof_provider | |
parent | b6fa500806f68d5394174e1f341dc61e3578760e (diff) | |
parent | 51625d3423051edb65081a7203bdbe52224d35f3 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/lib/proof_provider')
-rw-r--r-- | app/lib/proof_provider/keybase.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/proof_provider/keybase.rb b/app/lib/proof_provider/keybase.rb index 672e1cb4b..628972e9d 100644 --- a/app/lib/proof_provider/keybase.rb +++ b/app/lib/proof_provider/keybase.rb @@ -28,7 +28,8 @@ class ProofProvider::Keybase return end - return if @proof.provider_username.blank? + # Do not perform synchronous validation for remote accounts + return if @proof.provider_username.blank? || !@proof.account.local? if verifier.valid? @proof.verified = true |