Commit 05916aeb authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_oauth_google_login: Use Base_getUserValueByUserId because...

erp5_oauth_google_login: Use Base_getUserValueByUserId because ERP5Site_getAuthenticatedMemberPersonValue is deprecated
parent 8895480f
......@@ -48,7 +48,7 @@ if erp5_username in ("Anonymous User", None):
assignment.open(activate_kw=activate_kw)
person.setRoleList(assignment.getRoleList())
else:
person = portal.ERP5Site_getAuthenticatedMemberPersonValue(erp5_username)
person = context.Base_getUserValueByUserId(erp5_username)
login = person.newContent(portal_type=login_portal_type,
reference=reference)
......
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