From 1d2e59157b3195d8e6fa7165f6b7f5dc71bc7336 Mon Sep 17 00:00:00 2001 From: abhishek9686 Date: Sun, 7 Jul 2024 00:30:50 +0530 Subject: [PATCH] debug log --- logic/users.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/logic/users.go b/logic/users.go index 8f4cfb78..881878a9 100644 --- a/logic/users.go +++ b/logic/users.go @@ -3,11 +3,9 @@ package logic import ( "encoding/json" "errors" - "fmt" "sort" "github.com/gravitl/netmaker/database" - "github.com/gravitl/netmaker/logger" "github.com/gravitl/netmaker/models" ) @@ -165,7 +163,6 @@ func ValidateAndApproveUserInvite(email, code string) error { if err != nil { return err } - logger.Log(0, "CODE: ", code, fmt.Sprintf("%d", len(code)), " DB-CODE: ", in.InviteCode, fmt.Sprintf("%d", len(in.InviteCode))) if code != in.InviteCode { return errors.New("invalid code") }