[MM-57085] Remove UseNewSAMLLibrary experimental setting (#26392)

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Ben Schumacher
2024-04-05 16:56:01 +02:00
коммит произвёл GitHub
родитель dc3e5b9269
Коммит c5cf4101da
10 изменённых файлов: 26 добавлений и 52 удалений

Просмотреть файл

@@ -110,8 +110,8 @@ func NewChannels(s *Server) (*Channels, error) {
if notificationInterface != nil {
ch.Notification = notificationInterface(New(ServerConnector(ch)))
}
if samlInterfaceNew != nil {
ch.Saml = samlInterfaceNew(New(ServerConnector(ch)))
if samlInterface != nil {
ch.Saml = samlInterface(New(ServerConnector(ch)))
if err := ch.Saml.ConfigureSP(request.EmptyContext(s.Log())); err != nil {
s.Log().Error("An error occurred while configuring SAML Service Provider", mlog.Err(err))
}