fix log to be warn

This commit is contained in:
Hayden 2024-04-28 11:42:22 -05:00
parent f4c63613d5
commit ef06e4fbb2
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -263,7 +263,7 @@ func (svc *UserService) ChangePassword(ctx Context, current string, new string)
func (svc *UserService) RequestPasswordReset(ctx context.Context, req PasswordResetRequest) error { func (svc *UserService) RequestPasswordReset(ctx context.Context, req PasswordResetRequest) error {
usr, err := svc.repos.Users.GetOneEmail(ctx, req.Email) usr, err := svc.repos.Users.GetOneEmail(ctx, req.Email)
if err != nil { 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 return err
} }