Skip to content

Commit

Permalink
feat: fix auth
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Jan 14, 2025
1 parent 635845a commit 5e42b39
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 5e42b39

Please sign in to comment.