Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make requireAuth routes load after user logs in #22

Open
yarnball opened this issue Apr 5, 2017 · 0 comments
Open

Make requireAuth routes load after user logs in #22

yarnball opened this issue Apr 5, 2017 · 0 comments

Comments

@yarnball
Copy link

yarnball commented Apr 5, 2017

Hi,

Great work on this.

Is there a way to use the RequreAuth function only load the files once the user logs in? I have a problem where a lot of my app requires the jwt token which gets stored when the user logs in.

Issue with the current code is that it tries loading all modules (even the ones behind requireAuth

@yarnball yarnball changed the title Make requireAuth files load after user logs in Make requireAuth routes load after user logs in Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant