Skip to content

Commit 27c98bc

Browse files
committed
pb quand le backend n est pas concerné
1 parent 75ea183 commit 27c98bc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/bin/changepwd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
if u.is_backend_concerned(entity):
1818
ad.ad_exec_script(entity,'changepassword.template',entity['payload']['uid']+ ' "'+ entity['payload']['oldPassword'] + '" "'+ entity['payload']['newPassword'] +'"')
1919
else:
20-
u.returcode(0,"not concerned")
20+
print(u.returncode(0,"not concerned"))

src/bin/delentity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
if u.is_backend_concerned(entity):
1919
ad.ad_exec_script(entity,'delentity.template')
2020
else:
21-
u.returcode(0,"not concerned")
21+
print(u.returncode(0,"not concerned"))

src/bin/resetpwd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
if u.is_backend_concerned(entity):
1919
ad.ad_exec_script(entity,'resetpassword.template',"-user " + entity['payload']['uid']+ " -newp " + entity['payload']['newPassword'])
2020
else:
21-
u.returcode(0,"not concerned")
21+
print(u.returncode(0,"not concerned"))

src/bin/upsertidentity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
if u.is_backend_concerned(entity):
1919
ad.ad_exec_script(entity,'upsertidentity.template')
2020
else:
21-
u.returncode(0,"not concerned")
21+
print(u.returncode(0,"not concerned"))

0 commit comments

Comments
 (0)