Remove debug logs

This commit is contained in:
Jamie Curnow
2023-05-26 18:46:55 +10:00
parent ceb62fb0f2
commit e6ae25d081
3 changed files with 1 additions and 5 deletions

View File

@ -44,7 +44,6 @@ func Enforce(permission string) func(http.Handler) http.Handler {
token, claims, err := jwtauth.FromContext(ctx)
if err != nil {
logger.Debug("EnforceError: %+v", err)
h.ResultErrorJSON(w, r, http.StatusUnauthorized, err.Error(), nil)
return
}