Skip to content

Commit

Permalink
Merge pull request #193 from zugdev/fix-auth
Browse files Browse the repository at this point in the history
feat: fix auth
  • Loading branch information
zugdev authored Jan 14, 2025
2 parents 635845a + 5e42b39 commit 215c620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/home/authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function authentication() {
}

const gitHubUser: null | GitHubUser = await getGitHubUser();
if (gitHubUser) {
if (accessToken && gitHubUser) {
await trackReferralCode();
await displayGitHubUserInformation(gitHubUser);
}
Expand Down

0 comments on commit 215c620

Please sign in to comment.