perf: The locked ip shows the username

pull/14219/head
feng 2024-09-05 16:12:44 +08:00 committed by Bryan
parent d0ec4f798b
commit 39ebbfcf10
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class MFABlockUtils(BlockUtilBase):
class LoginIpBlockUtil(BlockGlobalIpUtilBase):
LIMIT_KEY_TMPL = "_LOGIN_LIMIT_{}"
BLOCK_KEY_TMPL = "_LOGIN_BLOCK_{}"
BLOCK_KEY_TMPL = "_LOGIN_BLOCK_IP_{}"
def validate_emails(emails):