Commit 780dbb43 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Fix when only login is provided


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5510 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55b34d8f
......@@ -119,6 +119,8 @@ class ERP5UserManager(BasePlugin):
_enumerateUsers = CachingMethod(_enumerateUsers, id='ERP5UserManager_enumerateUsers')
if id is None:
id = login
if isinstance(id, str):
id = (id,)
if isinstance(id, 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