Skip to content

Commit

Permalink
fix: add name fallback for GitHub users (#152)
Browse files Browse the repository at this point in the history
fix #150
  • Loading branch information
Bricklou authored Jun 17, 2024
1 parent 6bb90d5 commit 07e4ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class GithubDriver extends Oauth2Driver<GithubToken, GithubScopes> {
emailVerificationState: (body.email
? 'verified'
: 'unsupported') as AllyUserContract<any>['emailVerificationState'],
name: body.name,
name: body.name ?? body.login,
avatarUrl: body.avatar_url,
original: body,
}
Expand Down

0 comments on commit 07e4ce8

Please sign in to comment.