Ejemplo n.º 1
0
 def check_rate_limiting():
     """Check the the rate limits for each request for this blueprint."""
     if not flaskbb_config["AUTH_RATELIMIT_ENABLED"]:
         return None
     return limiter.check()
Ejemplo n.º 2
0
def check_rate_limiting():
    """Check the the rate limits for each request for this blueprint."""
    if not flaskbb_config["AUTH_RATELIMIT_ENABLED"]:
        return None
    return limiter.check()