auth_oidc: suppress error log on non error condition (#85669)
gitea/authentic/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2024-01-15 14:20:39 +01:00
parent 594ada0267
commit 3a24725d94
1 changed files with 0 additions and 1 deletions

View File

@ -27,7 +27,6 @@ class Command(LogToConsoleCommand):
logger = logging.getLogger(self.loggername)
providers = OIDCProvider.objects.exclude(jwkset_url='')
if not providers.count():
logger.error('no provider whose JWKSet needs refresh, exiting')
return
logger.info(
'got %s provider(s): %s',