mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Allow idp_name to be 4 characters (#2106)
This commit is contained in:
parent
bf9ae6ec0e
commit
a688b5cf5b
1 changed files with 2 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ func validateSSOSettings(p kolide.AppConfigPayload, existing *kolide.AppConfig,
|
|||
invalid.Append("idp_name", "required")
|
||||
}
|
||||
} else {
|
||||
if len(*p.SSOSettings.IDPName) < 5 {
|
||||
invalid.Append("idp_name", "must be 5 or more characters")
|
||||
if len(*p.SSOSettings.IDPName) < 4 {
|
||||
invalid.Append("idp_name", "must be 4 or more characters")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue