From dc1b10afcacf71d8166ac239bbc495d5eade3de5 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 30 Dec 2020 12:05:07 -0500 Subject: [PATCH] Authy --- auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.go b/auth.go index bb43d3e..16bba4f 100644 --- a/auth.go +++ b/auth.go @@ -78,7 +78,7 @@ func usePassword(user string, pass string, ip string) bool { tok := toks[user] delete(toks, user) if time.Since(tok.Timestamp) > (time.Minute * 5) { - log.LogWarn("%s attempted to use expired token. %+v, %+v, %+v", user, time.Since(tok.Timestamp), tok.Timestamp, time.Now()) + log.LogWarn("%s attempted to use expired token. \n%+v\n%+v\n%+v", user, time.Since(tok.Timestamp), tok.Timestamp, time.Now()) return false } if tok.IP != ip {