From 1d7d2b18350b3a8a7808a20044e9603253c92950 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 30 Dec 2020 11:26:17 -0500 Subject: [PATCH] Authy --- auth.go | 3 +++ 1 file changed, 3 insertions(+) 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))