Skip to content

How to avoid returning to login page after logging in? #606

Discussion options

You must be logged in to vote

Ah, a quick perusal of the docs has set me straight 🤦‍♂️ :

export default withAuthUser({
    whenUnauthedBeforeInit: AuthAction.SHOW_LOADER,
    whenAuthed: AuthAction.REDIRECT_TO_APP,
    LoaderComponent: Loader,
})(Signin)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MattHeslington
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant