From 07378dfd463d70ab0265a6f33d666cb7f96c3e94 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 15 Aug 2021 21:41:50 +0200 Subject: [PATCH] Forgot to python -> python3 in password check --- helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.lua b/helpers.lua index 349f3e1..d490857 100644 --- a/helpers.lua +++ b/helpers.lua @@ -768,7 +768,7 @@ function edit_user() -- and the new password against the confirmation field's content if args.newpassword == args.confirm then -- 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 if result_msg == nil or result_msg == "" then validation_error = nil