[mirotalksfu] - add log
هذا الالتزام موجود في:
@@ -61,6 +61,7 @@ class Mattermost {
|
|||||||
|
|
||||||
const { token, text, command, channel_id } = req.body;
|
const { token, text, command, channel_id } = req.body;
|
||||||
if (token !== this.token) {
|
if (token !== this.token) {
|
||||||
|
log.error('Invalid token attempt', { token });
|
||||||
return res.status(403).send('Invalid token');
|
return res.status(403).send('Invalid token');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم