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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user