diff --git a/app/license.go b/app/license.go index af295dee73..f6e9bafc10 100644 --- a/app/license.go +++ b/app/license.go @@ -370,10 +370,7 @@ func (s *Server) GenerateRenewalToken(expiration time.Duration) (string, *model. currentToken, _ := s.Store.System().GetByName(model.SystemLicenseRenewalToken) if currentToken != nil { - tokenIsValid, err := s.renewalTokenValid(currentToken.Value, license.Customer.Email) - if err != nil { - mlog.Warn("error checking license renewal token validation", mlog.Err(err)) - } + tokenIsValid, _ := s.renewalTokenValid(currentToken.Value, license.Customer.Email) if currentToken.Value != "" && tokenIsValid { return currentToken.Value, nil }