mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 20:55:42 +00:00
refactor: move user logging to oauth callback handler
This commit is contained in:
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user