From 0a633e74d700848303459583c3f921741464e29c Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 29 Aug 2018 01:25:28 +0200 Subject: [PATCH] [enh] Change the way password.py interract with ssowat --- src/yunohost/utils/password.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/yunohost/utils/password.py b/src/yunohost/utils/password.py index 5029c71de..051e9682f 100644 --- a/src/yunohost/utils/password.py +++ b/src/yunohost/utils/password.py @@ -191,9 +191,6 @@ if __name__ == '__main__': else: pwd = sys.argv[1] status, msg = ProfilePasswordValidator('user').validate(pwd) - if status == "error": - sys.exit(msg) - elif status == "warning": print(msg) sys.exit(0)