perf: The locked ip shows the username

This commit is contained in:
feng
2024-09-05 16:12:44 +08:00
committed by Bryan
parent d0ec4f798b
commit 39ebbfcf10

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):