Skip to content

Commit 134f13d

Browse files
committed
Add log entry about not trusted client
1 parent c8137b7 commit 134f13d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

handlers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ func TrustedHandler(c *gin.Context) {
235235
}
236236
}
237237
if !found {
238+
log.Println("ERROR: client %+v not found in trusted list", t)
238239
rec := services.Response("Authz", http.StatusBadRequest, services.TokenError, errors.New("user not found in trusted list"))
239240
c.JSON(http.StatusBadRequest, rec)
240241
return

0 commit comments

Comments
 (0)