summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go
index 5cc2488e0..f1017d15a 100644
--- a/model/config.go
+++ b/model/config.go
@@ -1359,6 +1359,14 @@ func (s *SamlSettings) SetDefaults() {
s.AssertionConsumerServiceURL = NewString("")
}
+ if s.ScopingIDPProviderId == nil {
+ s.ScopingIDPProviderId = NewString("")
+ }
+
+ if s.ScopingIDPName == nil {
+ s.ScopingIDPName = NewString("")
+ }
+
if s.LoginButtonText == nil || *s.LoginButtonText == "" {
s.LoginButtonText = NewString(USER_AUTH_SERVICE_SAML_TEXT)
}