perf: 优化登录ip限制提示

This commit is contained in:
ibuler
2021-03-22 14:44:44 +08:00
committed by 老广
parent 043c4a7a0b
commit 6fb819ca53
3 changed files with 25 additions and 26 deletions

View File

@@ -31,7 +31,7 @@ reason_choices = {
reason_user_invalid: _('Disabled or expired'),
reason_user_inactive: _("This account is inactive."),
reason_backend_not_match: _("Auth backend not match"),
reason_acl_not_allow: _("ACL is not allowed")
reason_acl_not_allow: _("Login IP is not allowed")
}
old_reason_choices = {
'0': '-',