summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-08-08 14:30:33 -0500
committerGitHub <noreply@github.com>2016-08-08 14:30:33 -0500
commit86824cdf39975b618c525468ed1e845207be6967 (patch)
tree2639dc30ad700cd3e3b08232ddd8d98c604a0d95 /model
parent9a59b7912ae9b4b4600d08698978b6781c723ad4 (diff)
downloadchat-86824cdf39975b618c525468ed1e845207be6967.tar.gz
chat-86824cdf39975b618c525468ed1e845207be6967.tar.bz2
chat-86824cdf39975b618c525468ed1e845207be6967.zip
PLT-3849 Fix No error message when invalid SAML SSO URL entered in System Console (#3763)
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 7fe575e58..61d13360c 100644
--- a/model/config.go
+++ b/model/config.go
@@ -1001,7 +1001,7 @@ func (o *Config) IsValid() *AppError {
}
if *o.SamlSettings.Enable {
- if len(*o.SamlSettings.IdpUrl) == 0 || !IsValidHttpUrl(*o.SamlSettings.IdpDescriptorUrl) {
+ if len(*o.SamlSettings.IdpUrl) == 0 || !IsValidHttpUrl(*o.SamlSettings.IdpUrl) {
return NewLocAppError("Config.IsValid", "model.config.is_valid.saml_idp_url.app_error", nil, "")
}