From ef06e4fbb23be6cd5d101afba85b38f5f6a03f4a Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Sun, 28 Apr 2024 11:42:22 -0500 Subject: [PATCH] fix log to be warn --- backend/internal/core/services/service_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/core/services/service_user.go b/backend/internal/core/services/service_user.go index ec2c97d..342bd31 100644 --- a/backend/internal/core/services/service_user.go +++ b/backend/internal/core/services/service_user.go @@ -263,7 +263,7 @@ func (svc *UserService) ChangePassword(ctx Context, current string, new string) func (svc *UserService) RequestPasswordReset(ctx context.Context, req PasswordResetRequest) error { usr, err := svc.repos.Users.GetOneEmail(ctx, req.Email) if err != nil { - log.Err(err).Msg("Failed to get user for email reset") + log.Warn().Err(err).Msg("failed to get user for email reset") return err }