Commit 9553c65b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Check consistency after change the login to prevent duplication

The mensage should be improved.
parent dfc8f9e5
...@@ -14,3 +14,8 @@ if password is not None: ...@@ -14,3 +14,8 @@ if password is not None:
if len(edit_kw): if len(edit_kw):
context.edit(**edit_kw) context.edit(**edit_kw)
# This will raise if login is duplicated.
# XXX Improve this later by
context.Base_checkConsistency()
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