diff --git a/internal/hooks/hooks.go b/internal/hooks/hooks.go index 642b4119..a52f3fe1 100644 --- a/internal/hooks/hooks.go +++ b/internal/hooks/hooks.go @@ -23,7 +23,7 @@ type Hooks struct { func (hooks *Hooks) UseUserContext(c *gin.Context) types.UserContext { cookie := hooks.Auth.GetSessionCookie(c) - basic := hooks.Auth.GetBasicAuth(c) + basic := hooks.Auth.GetBasicAuth(c) // TODO: return json instead of redirect when basic auth if basic.Username != "" { log.Debug().Msg("Got basic auth")