mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-04-29 22:51:42 +02:00
fix: correct logging variable from err to ipErr in AuthApi
This commit is contained in:
parent
1309d09aee
commit
61f0521072
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user