chore: merge

This commit is contained in:
Joel
2024-12-18 17:54:18 +08:00
193 changed files with 8550 additions and 2659 deletions

View File

@ -440,7 +440,7 @@ class AccountService:
if count is None:
count = 0
count = int(count) + 1
redis_client.setex(key, 60 * 60 * 24, count)
redis_client.setex(key, dify_config.LOGIN_LOCKOUT_DURATION, count)
@staticmethod
def is_login_error_rate_limit(email: str) -> bool: