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')
|
email = user_doc.get('email')
|
||||||
if not email:
|
if not email:
|
||||||
log.warning('Unable to check new user for organization membership, no email address! %r',
|
log.info('Unable to check new user for organization membership, no email address: %r',
|
||||||
user_doc)
|
user_doc)
|
||||||
return
|
return
|
||||||
|
|
||||||
org_roles = current_app.org_manager.unknown_member_roles(email)
|
org_roles = current_app.org_manager.unknown_member_roles(email)
|
||||||
|
Reference in New Issue
Block a user