Skip to content

Commit

Permalink
Fix missing session variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsMissEm authored May 12, 2022
1 parent 4ac157d commit 4d03633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/alternate-fetches.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ r@1.11.2/dist/solid-client-authn.bundle.js"></script>
});
}
async function handleRedirectAfterLogin() {
await solidClientAuthentication.handleIncomingRedirect();
const session = await solidClientAuthentication.handleIncomingRedirect();
if (session.info.isLoggedIn) main();
}
handleRedirectAfterLogin();
Expand Down

0 comments on commit 4d03633

Please sign in to comment.