fix: remove useless conditional

pull/3105/head
Ryan Cohen 2 years ago
parent a231eba896
commit 6a4d884754

@ -287,7 +287,7 @@ authRoutes.post('/local', async (req, res, next) => {
}
// Set logged in session
if (user && req.session) {
if (req.session) {
req.session.userId = user.id;
}

Loading…
Cancel
Save