mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Add warning when nothing is updated in LDAP
This commit is contained in:
parent
9400ef7498
commit
7ff033090c
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ class Authenticator(BaseAuthenticator):
|
|||
ldif = modlist.modifyModlist(actual_entry[0], attr_dict, ignore_oldexistent=1)
|
||||
|
||||
if ldif == []:
|
||||
logger.warning("Nothing to update in LDAP")
|
||||
return True
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue