mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 16:35:10 +00:00
perf: verify code ttl translate (#9567)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -114,7 +114,7 @@ class SecurityAuthSerializer(serializers.Serializer):
|
||||
VERIFY_CODE_TTL = serializers.IntegerField(
|
||||
min_value=5, max_value=60 * 60 * 10,
|
||||
label=_("Verify code TTL"),
|
||||
help_text=_("Unit: second")
|
||||
help_text=_("Unit: second, reset password and send SMS code expiration time")
|
||||
)
|
||||
SECURITY_LOGIN_CHALLENGE_ENABLED = serializers.BooleanField(
|
||||
required=False, default=False,
|
||||
|
Reference in New Issue
Block a user