fix(auth): remove unnecessary assignment of profileUser variable

This commit is contained in:
0xsysr3ll
2025-04-26 17:49:10 +02:00
parent eaa3691671
commit c2a61862c1

View File

@@ -570,8 +570,6 @@ authRoutes.post('/plex/profile/select', async (req, res, next) => {
matchingUserId: matchingUser.id,
});
profileUser = matchingUser;
if (req.session) {
req.session.userId = matchingUser.id;
}