refactor: move user logging to oauth callback handler

This commit is contained in:
Stavros
2025-07-17 15:07:05 +03:00
parent bc941cb248
commit 5f7f88421e
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ func (h *Handlers) OAuthCallbackHandler(c *gin.Context) {
return
}
log.Debug().Msg("Got user")
log.Debug().Interface("user", user).Msg("Got user")
// Check that email is not empty
if user.Email == "" {

View File

@@ -32,6 +32,6 @@ func GetGenericUser(client *http.Client, url string) (constants.Claims, error) {
return user, err
}
log.Debug().Interface("user", user).Msg("Parsed user from generic provider")
log.Debug().Msg("Parsed user from generic provider")
return user, nil
}