remainingPoints and consumePoints stay the same each time I do an request
I use the middleware code which you provided:

`const Redis = require("redis");
const { RateLimiterRedis } = require("rate-limiter-flexible");

const redisClient = Redis.createClient();

const rateLimiter = new RateLimiterRedis({
  storeClient: redisClient,
  keyPrefix: "middleware",
  points: 10, // 10 requests
  duration: 1, // per 1 second by IP
});

const rateLimiterMiddleware = (req, res, next) => {
  rateLimiter
    .consume(req.ip)
    .then((result) => {
      console.log("res", result);
      next();
    })
    .catch(() => {
      console.log("err", res);
      res.error("To many requests");
      res.status(429).send("Too Many Requests");
    });
};

module.exports = rateLimiterMiddleware;
`

Each time I do a login it logs me the same values over and over again:

`{
    remainingPoints: 9,
    msBeforeNext: 1000,
    consumedPoints: 1,
    isFirstInDuration: true
}`

In this way the middleware on the login api is never going to show me the res.status(429).send('Too Many Requests')
