diff --git a/scripts/upgrade b/scripts/upgrade index b98017a..73810ca 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -78,7 +78,7 @@ fi if [ -z "$hashed_password" ]; then # Generate random password - password=$(ynh_string_random --length=8) + password=$(ynh_string_random 8) hashed_password=$(echo -n $password | sha256sum | cut -d' ' -f1) echo "The new version of LSTU provide an admin and a stats area which required a password.