Use old saml library if new one is enabled (#15371)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
176f509de8
Коммит
8a101357bc
@@ -167,6 +167,9 @@ func (a *App) initEnterprise() {
|
||||
if *a.Config().ExperimentalSettings.UseNewSAMLLibrary && samlInterfaceNew != nil {
|
||||
mlog.Debug("Loading new SAML2 library")
|
||||
a.srv.Saml = samlInterfaceNew(a)
|
||||
} else if *a.Config().ExperimentalSettings.UseNewSAMLLibrary && samlInterfaceNew == nil {
|
||||
mlog.Debug("Ignoring configuration setting to use the Experimental SAML library")
|
||||
a.srv.Saml = samlInterface(a)
|
||||
} else {
|
||||
mlog.Debug("Loading original SAML library")
|
||||
a.srv.Saml = samlInterface(a)
|
||||
|
||||
Ссылка в новой задаче
Block a user