Fix jwt-token

This commit is contained in:
2025-09-17 05:29:40 +02:00
parent 7404ac747e
commit deb80e0441

View File

@@ -279,7 +279,7 @@ describe('IP Restriction Middleware', () => {
await ipRestriction.checkIPRestriction(req, res, next); await ipRestriction.checkIPRestriction(req, res, next);
expect(consoleLogSpy.calledWith(sinon.match(/🚫.*IP Access Denied/))).to.be.true; expect(consoleLogSpy.calledWith(sinon.match(/\[SECURITY AUDIT\].*denied access to/))).to.be.true;
consoleLogSpy.restore(); consoleLogSpy.restore();
}); });