mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Change the way password.py interract with ssowat
This commit is contained in:
parent
ca91a9cae5
commit
0a633e74d7
1 changed files with 0 additions and 3 deletions
|
@ -191,9 +191,6 @@ if __name__ == '__main__':
|
||||||
else:
|
else:
|
||||||
pwd = sys.argv[1]
|
pwd = sys.argv[1]
|
||||||
status, msg = ProfilePasswordValidator('user').validate(pwd)
|
status, msg = ProfilePasswordValidator('user').validate(pwd)
|
||||||
if status == "error":
|
|
||||||
sys.exit(msg)
|
|
||||||
elif status == "warning":
|
|
||||||
print(msg)
|
print(msg)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue