take into account the case an email is primary but not verified on github
This commit is contained in:
parent
6486d4dd6e
commit
5f9ad01849
|
@ -74,7 +74,7 @@ def github_callback():
|
|||
email = None
|
||||
|
||||
for e in emails:
|
||||
if e.get("verified") and e.get("primary"):
|
||||
if e.get("verified"):
|
||||
email = e.get("email")
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue