Merge pull request #384 from brinkcoder/fix/auth-log-iperr

[BUGFIX] correct wrong variable in AuthApi error logging
This commit is contained in:
Jan Eitzinger
2025-04-28 08:51:42 +02:00
committed by GitHub

View File

@@ -331,7 +331,7 @@ func (auth *Authentication) AuthApi(
ipErr := securedCheck(user, r)
if ipErr != nil {
log.Infof("auth api -> secured check failed: %s", err.Error())
log.Infof("auth api -> secured check failed: %s", ipErr.Error())
onfailure(rw, r, ipErr)
return
}