mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix typo
This commit is contained in:
parent
419b404de9
commit
442d9319e7
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ func checkAuth(w http.ResponseWriter, r *http.Request, authRequired bool) (token
|
|||
|
||||
// Return authentication failure message if authentication is required.
|
||||
if authRequired {
|
||||
log.Tracer(r.Context()).Warningf("api: denying api access to %s", r.RemoteAddr)
|
||||
log.Tracer(r.Context()).Warningf("api: denying api access from %s", r.RemoteAddr)
|
||||
http.Error(w, err.Error(), http.StatusForbidden)
|
||||
return nil, true
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue