Skip to content

Commit

Permalink
Changed LemonService.getOAuth2AccountVerified to return flse in case of
Browse files Browse the repository at this point in the history
any errors
  • Loading branch information
naturalprogrammer committed Nov 17, 2018
1 parent a624d7f commit 6076971
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,11 @@ public boolean getOAuth2AccountVerified(String registrationId, Map<String, Objec
if (verified == null)
verified = attributes.get("verified");

return (boolean) verified;
try {
return (boolean) verified;
} catch (Throwable t) {
return false;
}
}


Expand Down

0 comments on commit 6076971

Please sign in to comment.