Commit 32dbee6a authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Detect other types of logins

parent 06f4a2d4
......@@ -53,7 +53,7 @@ for role in role_list:
assignment.open()
login_list = [x for x in person.objectValues(portal_type='ERP5 Login') \
login_list = [x for x in person.objectValues(portal_type=['ERP5 Login', 'Google Login', 'Facebook Login']) \
if x.getValidationState() == 'validated']
if not login_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment