summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/config.go b/model/config.go
index 3a0d7f976..8e9320008 100644
--- a/model/config.go
+++ b/model/config.go
@@ -907,7 +907,7 @@ func (o *Config) IsValid() *AppError {
}
if *o.SamlSettings.Enable {
- if len(*o.SamlSettings.IdpUrl) == 0 {
+ if len(*o.SamlSettings.IdpUrl) == 0 || !IsValidHttpUrl(*o.SamlSettings.IdpDescriptorUrl) {
return NewLocAppError("Config.IsValid", "model.config.is_valid.saml_idp_url.app_error", nil, "")
}