fix error handling when adding user that already exists
This commit is contained in:
parent
932e7a8b40
commit
b68214022c
|
@ -678,6 +678,7 @@ class LdapCherry(object):
|
|||
self._add_notification(
|
||||
'User already exists in backend "' + b + '"'
|
||||
)
|
||||
return
|
||||
if not added:
|
||||
raise e
|
||||
|
||||
|
|
Loading…
Reference in New Issue