feat(config): allow global bypass by ip

This commit is contained in:
Scott McKendry
2026-05-22 05:28:23 +12:00
parent 8849d7e00f
commit 1f446d5897
4 changed files with 66 additions and 11 deletions
+3 -2
View File
@@ -154,8 +154,9 @@ type AddressClaim struct {
}
type IPConfig struct {
Allow []string `description:"List of allowed IPs or CIDR ranges." yaml:"allow"`
Block []string `description:"List of blocked IPs or CIDR ranges." yaml:"block"`
Allow []string `description:"List of allowed IPs or CIDR ranges." yaml:"allow"`
Block []string `description:"List of blocked IPs or CIDR ranges." yaml:"block"`
Bypass []string `description:"List of IPs or CIDR ranges that bypass authentication entirely." yaml:"bypass"`
}
type OAuthConfig struct {