Closed apbendi closed 4 years ago
document.contxt['github_handle']
in JS will do it
document.contxt['github_handle']
in JS will do it
Using JS, how can we redirect to the login screen and navigate back to the cart page after login?
send the user to '/login/github?next=' + REDIRECT_URL
Hey @owocki, this is one where we could use a hit to save us some time. What would be the easiest way to detect if the user is logged in or not, then redirect them to a login page from the cart if not.