This commit is contained in:
2020-12-30 11:57:13 -05:00
parent 957d34f6c4
commit b172b1b57a

View File

@ -74,6 +74,7 @@ func tryLogin(w http.ResponseWriter, r *http.Request) {
func usePassword(user string, pass string, ip string) bool {
defer log.PanicSafe()
log.LogInfo("%+v", toks)
tok := toks[user]
delete(toks, user)
if time.Since(tok.timestamp) > (time.Minute * 5) {