diff --git a/auth.go b/auth.go index 1d21990..97e45bb 100644 --- a/auth.go +++ b/auth.go @@ -20,8 +20,11 @@ func reqPass(w http.ResponseWriter, r *http.Request) { for _, m := range g.Members { if m.User.Username == username { userID = m.User.ID + log.LogInfo("User ID found for %+v as %+v", username, userID) } } + } else { + log.LogError("Unable to find user ID for %+v", username) } ipaddr := r.Header.Get("X-Real-IP") log.LogInfo(fmt.Sprintf("reqPass called:```username: %s\nip : %s```", username, ipaddr))