fix(auth): remove unnecessary assignment of profileUser variable
This commit is contained in:
@@ -570,8 +570,6 @@ authRoutes.post('/plex/profile/select', async (req, res, next) => {
|
|||||||
matchingUserId: matchingUser.id,
|
matchingUserId: matchingUser.id,
|
||||||
});
|
});
|
||||||
|
|
||||||
profileUser = matchingUser;
|
|
||||||
|
|
||||||
if (req.session) {
|
if (req.session) {
|
||||||
req.session.userId = matchingUser.id;
|
req.session.userId = matchingUser.id;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user