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
This commit is contained in:
Cooldude2606 authored and GitHub committed 2024-10-28 18:46:26 +00:00
1 parent 300db5cbfd
commit e0b72e568d
1 file changed
+2 -1
+2 -1
View File
@@ -398,7 +398,8 @@ export class InstanceConfig extends classes.Config<InstanceConfigFields> {
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,