From e0b72e568da57497c4729aeaa3d9f36b1f4d1ceb Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:46:26 +0000 Subject: [PATCH] Mark RCON password as a credential (#673) * Mark RCON password as a credential * Update location name and description * Add controller to array to avoid UB --- packages/lib/src/config/definitions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/lib/src/config/definitions.ts b/packages/lib/src/config/definitions.ts index 11a9dd3b..0584f4c3 100644 --- a/packages/lib/src/config/definitions.ts +++ b/packages/lib/src/config/definitions.ts @@ -398,7 +398,8 @@ export class InstanceConfig extends classes.Config { optional: true, }, "factorio.rcon_password": { - description: "Password for RCON, randomly generated if null", + credential: ["host", "controller"], + description: "Password for RCON, randomly generated if null.", restartRequired: true, type: "string", optional: true,