mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-04-30 07:01: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)
|
ipErr := securedCheck(user, r)
|
||||||
if ipErr != nil {
|
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)
|
onfailure(rw, r, ipErr)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user