mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-54029] IDP descriptor can any string (#24250)
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
c516d5cb15
commit
4dbf1f8c26
@ -8860,7 +8860,7 @@
|
||||
},
|
||||
{
|
||||
"id": "model.config.is_valid.saml_idp_descriptor_url.app_error",
|
||||
"translation": "Identity Provider Issuer URL must be a valid URL and start with http:// or https://."
|
||||
"translation": "Identity Provider Issuer URL cannot be an empty string."
|
||||
},
|
||||
{
|
||||
"id": "model.config.is_valid.saml_idp_url.app_error",
|
||||
|
@ -3794,7 +3794,7 @@ func (s *SamlSettings) isValid() *AppError {
|
||||
return NewAppError("Config.IsValid", "model.config.is_valid.saml_idp_url.app_error", nil, "", http.StatusBadRequest)
|
||||
}
|
||||
|
||||
if *s.IdpDescriptorURL == "" || !IsValidHTTPURL(*s.IdpDescriptorURL) {
|
||||
if *s.IdpDescriptorURL == "" {
|
||||
return NewAppError("Config.IsValid", "model.config.is_valid.saml_idp_descriptor_url.app_error", nil, "", http.StatusBadRequest)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user