admin logging hotfix

This commit is contained in:
Marek Farkaš
2025-05-04 00:31:48 +02:00
parent 3ecffd8d21
commit 50aeb97282
+1 -1
View File
@@ -381,7 +381,7 @@ router.get('/log_fmlist', (req, res) => {
return; return;
} }
if (serverConfig.extras.fmlistIntegration === false || serverConfig.extras.fmlistAdminOnly && !isTuneAuthenticated) { if (serverConfig.extras.fmlistIntegration === false || (serverConfig.extras.fmlistAdminOnly && !req.session.isTuneAuthenticated)) {
res.status(500).send('FMLIST Integration is not available.'); res.status(500).send('FMLIST Integration is not available.');
return; return;
} }