Commit 0a1a500d authored by Gabriel Monnerat's avatar Gabriel Monnerat

ERP5LoginUserManager: avoid pass id as None because recent ZODB's BTree reject None as a key

parent 5c3ffbc0
...@@ -267,7 +267,7 @@ class ERP5LoginUserManager(BasePlugin): ...@@ -267,7 +267,7 @@ class ERP5LoginUserManager(BasePlugin):
# users so code checking if a user login exists before allowing it to be # users so code checking if a user login exists before allowing it to be
# reused, preventing misleading logins from being misused. # reused, preventing misleading logins from being misused.
result.append({ result.append({
'id': None, 'id': special_user_name,
'login': special_user_name, 'login': special_user_name,
'pluginid': plugin_id, 'pluginid': plugin_id,
......
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