From 60ce07c983f6c50b0086ee7f29998125f3d9acfb Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 9 Oct 2023 11:44:56 -0400 Subject: [PATCH] more --- 2fa.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/2fa.go b/2fa.go index 4202e0d..04e4cc7 100644 --- a/2fa.go +++ b/2fa.go @@ -3,6 +3,7 @@ package scsusers import ( "crypto/rand" "fmt" + "log" "math/big" "strconv" "time" @@ -56,6 +57,7 @@ func Send2FA(u *UserData) error { lastname = "" } fullname := fmt.Sprintf("%s %s", firstname, lastname) + log.Printf("Sending %s %s %s", u.Username, fullname, code) return Send2faEmail(u.Username, fullname, code) }