mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +00:00
Remove debug logs
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user