- fix: refresh token, codice di errore ...
This commit is contained in:
@@ -714,7 +714,7 @@ router.post('/gettable', authenticate_noerror, (req, res) => {
|
||||
params.table = sanitizeHtml(params.table);
|
||||
|
||||
if (!shared_consts.TABLES_ENABLE_GETTABLE_FOR_NOT_LOGGED.includes(params.table) && !req.user) {
|
||||
return res.status(403).send({});
|
||||
return res.status(req.code).send({});
|
||||
}
|
||||
|
||||
let idapp = req.user ? req.user.idapp : sanitizeHtml(params.idapp);
|
||||
|
||||
Reference in New Issue
Block a user