Reduced log level when checking user without email for org membership

Service accounts may not have an email address, which is fine for now.
This commit is contained in:
2018-01-03 12:08:06 +01:00
parent 656a878c6a
commit a938342611

View File

@@ -161,8 +161,8 @@ def grant_org_roles(user_doc):
email = user_doc.get('email')
if not email:
log.warning('Unable to check new user for organization membership, no email address! %r',
user_doc)
log.info('Unable to check new user for organization membership, no email address: %r',
user_doc)
return
org_roles = current_app.org_manager.unknown_member_roles(email)