[enh] Change the way password.py interract with ssowat

This commit is contained in:
ljf 2018-08-29 01:25:28 +02:00
parent ca91a9cae5
commit 0a633e74d7

View file

@ -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)