Add defaults for SAML settings (#8536)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5151a92f91
Коммит
3394a51dc6
@@ -1359,6 +1359,14 @@ func (s *SamlSettings) SetDefaults() {
|
|||||||
s.AssertionConsumerServiceURL = NewString("")
|
s.AssertionConsumerServiceURL = NewString("")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if s.ScopingIDPProviderId == nil {
|
||||||
|
s.ScopingIDPProviderId = NewString("")
|
||||||
|
}
|
||||||
|
|
||||||
|
if s.ScopingIDPName == nil {
|
||||||
|
s.ScopingIDPName = NewString("")
|
||||||
|
}
|
||||||
|
|
||||||
if s.LoginButtonText == nil || *s.LoginButtonText == "" {
|
if s.LoginButtonText == nil || *s.LoginButtonText == "" {
|
||||||
s.LoginButtonText = NewString(USER_AUTH_SERVICE_SAML_TEXT)
|
s.LoginButtonText = NewString(USER_AUTH_SERVICE_SAML_TEXT)
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user