feat: add the FailedSigninLimit and FailedSigninfrozenTime configuration options to the application (#2552)

Add configuration items to the application to limit the number of logins and the login wait time after the maximum number of errors is reached
feat: #2272

fix: fixed the issue where the token parameter could be set to a negative value
This commit is contained in:
HGZ-20
2023-12-20 22:29:53 +08:00
committed by GitHub
parent f8905ae64c
commit 5499e62d7f
30 changed files with 185 additions and 17 deletions

View File

@ -46,6 +46,10 @@
"Enable signin session - Tooltip": "从应用登录Casdoor后Casdoor是否保持会话",
"Enable signup": "启用注册",
"Enable signup - Tooltip": "是否允许用户注册",
"Failed signin frozen time": "登入重试等待时间",
"Failed signin frozen time - Tooltip": "超过登入错误重试次数后的等待时间只有超过等待时间后用户才能重新登入默认值为15分钟设置的值需为正整数",
"Failed signin limit": "登入错误次数限制",
"Failed signin limit - Tooltip": "短时间内允许的最大登入错误重试次数超过次数限制后将在一段时间内禁止登入默认值为5设置的值需为正整数",
"Failed to sign in": "登录失败",
"File uploaded successfully": "文件上传成功",
"First, last": "名字, 姓氏",