mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Forgot to python -> python3 in password check
This commit is contained in:
parent
b28788d708
commit
07378dfd46
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ function edit_user()
|
||||||
-- and the new password against the confirmation field's content
|
-- and the new password against the confirmation field's content
|
||||||
if args.newpassword == args.confirm then
|
if args.newpassword == args.confirm then
|
||||||
-- Check password validity
|
-- Check password validity
|
||||||
local result_msg = secure_cmd_password("python /usr/lib/moulinette/yunohost/utils/password.py", args.newpassword)
|
local result_msg = secure_cmd_password("python3 /usr/lib/moulinette/yunohost/utils/password.py", args.newpassword)
|
||||||
validation_error = true
|
validation_error = true
|
||||||
if result_msg == nil or result_msg == "" then
|
if result_msg == nil or result_msg == "" then
|
||||||
validation_error = nil
|
validation_error = nil
|
||||||
|
|
Loading…
Reference in a new issue