mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 18:59:50 +08:00
feat: support api key ip restriction rules
This commit is contained in:
@@ -561,7 +561,7 @@ fn map_management_token_write_error(
|
||||
.unwrap_or_else(|| "Management Token 名称已存在".to_string()),
|
||||
),
|
||||
(Some("23514"), Some("check_allowed_ips_not_empty")) => {
|
||||
Some("IP 白名单不能为空,如需取消限制请不提供此字段".to_string())
|
||||
Some("IP 限制规则不能为空,如需取消限制请不提供此字段".to_string())
|
||||
}
|
||||
_ => None,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user