Commit b55cee30 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

ERP5AccessTokenExtractionPlugin: use _getOb to get the object in the module.

parent a253616c
......@@ -71,7 +71,7 @@ class ERP5AccessTokenExtractionPlugin(BasePlugin):
token = request.form.get("access_token", None)
if token is not None:
token_document = self.getPortalObject().access_token_module.\
unrestrictedTraverse(token, None)
_getOb(token, None)
# Access Token should be validated
# Check restricted access of URL
# Extract login information
......
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