diff --git a/modules/saml/saml.go b/modules/saml/saml.go index bc604b3..a9f0034 100644 --- a/modules/saml/saml.go +++ b/modules/saml/saml.go @@ -60,7 +60,7 @@ func NewSAMLEndpoint(config *toml.Tree) (s *SAML, err error) { log.Trace().Str("config", config.String()).Msg("config") var key interface{} s.config = config - if err = config.Unmarshal(&s); err != nil { + if err = config.Unmarshal(s); err != nil { log.Error().Err(err).Msg("Error while mapping config to struct") return }