diff --git a/sda/cmd/auth/main.go b/sda/cmd/auth/main.go index ce9f4918a..575b0b145 100644 --- a/sda/cmd/auth/main.go +++ b/sda/cmd/auth/main.go @@ -264,6 +264,7 @@ func (auth AuthHandler) elixirLogin(ctx iris.Context) *OIDCData { return nil } + log.Debugf("DB is %v", auth.Config.DB) err = auth.Config.DB.UpdateUserInfo(idStruct.User, idStruct.Name, idStruct.Email, idStruct.EdupersonEntitlement) if err != nil { log.Warnf("Could not log user info for %s (%s, %s)", idStruct.User, idStruct.Name, idStruct.Email) @@ -412,6 +413,7 @@ func main() { log.Error("database schema v14 is required") panic(err) } + log.Debugf("DB is %v", authHandler.Config.DB) app.RegisterView(iris.HTML(authHandler.htmlDir, ".html")) app.HandleDir("/public", iris.Dir(authHandler.staticDir))