Skip to content

Commit

Permalink
Moment
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Aug 1, 2024
1 parent cb14c39 commit 60b84fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ func initialCaretaker(c *fasthttp.RequestCtx, f func(md common.MethodData) commo
if missingPrivileges != 0 {
slog.Error(
"Denied access due to missing privileges",
"tokenHas", md.User.TokenPrivileges,
"userHas", md.User.UserPrivileges,
"missing", missingPrivileges,
"userID", md.User.UserID,
"route", string(c.Request.URI().Path()),
Expand Down

0 comments on commit 60b84fb

Please sign in to comment.