From 957d34f6c40c025042da9dc058c31cf6597ac74c Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 30 Dec 2020 11:55:48 -0500 Subject: [PATCH] Authy --- auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.go b/auth.go index c60a57c..4c08d8f 100644 --- a/auth.go +++ b/auth.go @@ -77,7 +77,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(fmt.Sprintf("%s attempted to use expired token.", user)) + log.LogWarn(fmt.Sprintf("%s attempted to use expired token. %+v", user, time.Since(tok.timestamp))) return false } if tok.ip != ip {