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

Dynamic Dir does not work #38

Open
rmichnik opened this issue Jan 11, 2014 · 0 comments
Open

Dynamic Dir does not work #38

rmichnik opened this issue Jan 11, 2014 · 0 comments

Comments

@rmichnik
Copy link

I'm trying to use dynamic dir but not working when i put my upload configuration after

app.use(passport.initialize());
app.use(passport.session());

I need to put after this because i want to use the req.user._id and this info come from my passport and it's only available before passport.initialize() and passport.session()

When i put my upload config before app.use(passport.initialize());, without dynamic dir, all runs as expected.

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