mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-24 02:14:20 +01:00
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(
|
self._add_notification(
|
||||||
'User already exists in backend "' + b + '"'
|
'User already exists in backend "' + b + '"'
|
||||||
)
|
)
|
||||||
|
return
|
||||||
if not added:
|
if not added:
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user