Browse Source

Fixing a too low rate limit I had used while debugging.

pull/230/head
Pēteris Caune 6 years ago
parent
commit
dd9fbc9e8c
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/api/models.py

+ 1
- 1
hc/api/models.py View File

@ -640,7 +640,7 @@ class TokenBucket(models.Model):
value = "invite-%d" % user.id
# 20 invites per day
return TokenBucket.authorize(value, 2, 3600 * 24)
return TokenBucket.authorize(value, 20, 3600 * 24)
@staticmethod
def authorize_login_password(email):


Loading…
Cancel
Save