From 4bfcda589880bd3a09e530346d74abf8ce761ff6 Mon Sep 17 00:00:00 2001 From: Cam Date: Wed, 21 Feb 2024 10:54:38 -0600 Subject: [PATCH] fix build error --- controller/regenerateToken.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/regenerateToken.go b/controller/regenerateToken.go index ca40b3ca..d4de6dab 100644 --- a/controller/regenerateToken.go +++ b/controller/regenerateToken.go @@ -39,7 +39,7 @@ func (handler *regenerateTokenHandler) Handle(params account.RegenerateTokenPara } if a.Disabled { logrus.Errorf("account '%v' for '%v' disabled", a.Email, a.Token) - return account.NewResetTokenNotFound() + return account.NewRegenerateTokenNotFound() } // Need to create new token and invalidate all other resources