1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

admin logging hotfix

This commit is contained in:
Marek Farkaš
2025-05-04 00:31:48 +02:00
parent 3ecffd8d21
commit 50aeb97282

View File

@@ -381,7 +381,7 @@ router.get('/log_fmlist', (req, res) => {
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.');
return;
}