Skip to content

Commit 61f0521

Browse files
brinkcoderbrinkcoder
authored andcommitted
fix: correct logging variable from err to ipErr in AuthApi
1 parent 1309d09 commit 61f0521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func (auth *Authentication) AuthApi(
331331

332332
ipErr := securedCheck(user, r)
333333
if ipErr != nil {
334-
log.Infof("auth api -> secured check failed: %s", err.Error())
334+
log.Infof("auth api -> secured check failed: %s", ipErr.Error())
335335
onfailure(rw, r, ipErr)
336336
return
337337
}

0 commit comments

Comments
 (0)