diff --git a/scripts/install b/scripts/install index a7afd86..b590e7b 100644 --- a/scripts/install +++ b/scripts/install @@ -138,7 +138,7 @@ ynh_replace_string "__ADMINPASS__" "$admin_pass" "$final_path/lstu.conf" ynh_replace_string "__ADMINHASH__" "$admin_hash" "$final_path/lstu.conf" ynh_replace_string "__DBNAME__" "$db_name" "$final_path/lstu.conf" ynh_replace_string "__DBPASS__" "$db_pwd" "$final_path/lstu.conf" -ynh_replace_string "__DBUSER__" "$db_user" "$final_path/lstu.conf" +ynh_replace_string "__DBUSER__" "$db_name" "$final_path/lstu.conf" secret=$(ynh_string_random 24) ynh_replace_string "__SECRET__" "$secret" "${final_path}/lstu.conf"