mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 18:34:28 +00:00
perf: The locked ip shows the username
This commit is contained in:
@@ -227,7 +227,7 @@ class MFABlockUtils(BlockUtilBase):
|
|||||||
|
|
||||||
class LoginIpBlockUtil(BlockGlobalIpUtilBase):
|
class LoginIpBlockUtil(BlockGlobalIpUtilBase):
|
||||||
LIMIT_KEY_TMPL = "_LOGIN_LIMIT_{}"
|
LIMIT_KEY_TMPL = "_LOGIN_LIMIT_{}"
|
||||||
BLOCK_KEY_TMPL = "_LOGIN_BLOCK_{}"
|
BLOCK_KEY_TMPL = "_LOGIN_BLOCK_IP_{}"
|
||||||
|
|
||||||
|
|
||||||
def validate_emails(emails):
|
def validate_emails(emails):
|
||||||
|
Reference in New Issue
Block a user