We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6125034 + da73459 commit 77cfd54Copy full SHA for 77cfd54
lib/omniauth/strategies/github.rb
@@ -48,7 +48,7 @@ def raw_info
48
end
49
50
def email
51
- raw_info['email'] || primary_email
+ (raw_info['email'].nil? || raw_info['email'].empty?) ? primary_email : raw_info['email']
52
53
54
def primary_email
0 commit comments