Commit ac238aa3 authored by BaiJiangJie's avatar BaiJiangJie Committed by 老广

[Update] 修改用户登录失败限制次数,3->7 (#1586)

* [Update] 修改用户登录失败限制次数,3->7

* [Update] 修改用户登录失败限制次数,3->7 - 续
parent e41add61
...@@ -181,7 +181,7 @@ class SecuritySettingForm(BaseForm): ...@@ -181,7 +181,7 @@ class SecuritySettingForm(BaseForm):
) )
# limit login count # limit login count
SECURITY_LOGIN_LIMIT_COUNT = forms.IntegerField( SECURITY_LOGIN_LIMIT_COUNT = forms.IntegerField(
initial=3, min_value=3, initial=7, min_value=3,
label=_("Limit the number of login failures") label=_("Limit the number of login failures")
) )
# limit login time # limit login time
......
...@@ -406,7 +406,7 @@ TERMINAL_REPLAY_STORAGE = { ...@@ -406,7 +406,7 @@ TERMINAL_REPLAY_STORAGE = {
DEFAULT_PASSWORD_MIN_LENGTH = 6 DEFAULT_PASSWORD_MIN_LENGTH = 6
DEFAULT_LOGIN_LIMIT_COUNT = 3 DEFAULT_LOGIN_LIMIT_COUNT = 7
DEFAULT_LOGIN_LIMIT_TIME = 30 DEFAULT_LOGIN_LIMIT_TIME = 30
# Django bootstrap3 setting, more see http://django-bootstrap3.readthedocs.io/en/latest/settings.html # Django bootstrap3 setting, more see http://django-bootstrap3.readthedocs.io/en/latest/settings.html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment