adapters: only warn if lookup attribute is empty (#39381)

This commit is contained in:
Thomas NOËL 2020-01-29 15:12:46 +01:00
parent b4a08778bf
commit 320ee3c457
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ class DefaultAdapter(object):
continue
values = saml_attributes.get(saml_attribute)
if not values:
logger.error('looking for user by saml attribute %r and user field %r, skipping because empty',
logger.warning('looking for user by saml attribute %r and user field %r, skipping because empty',
saml_attribute, user_field)
continue
ignore_case = line.get('ignore-case', False)