We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5c48d3 commit 08262f7Copy full SHA for 08262f7
app/assets/js/processbuilder.js
@@ -71,7 +71,11 @@ class ProcessBuilder {
71
args = args.concat(this.constructModList(modObj.fMods))
72
}
73
74
- logger.info('Launch Arguments:', args)
+ // Hide access token
75
+ const loggableArgs = [...args]
76
+ loggableArgs[loggableArgs.findIndex(x => x === this.authUser.accessToken)] = '**********'
77
+
78
+ logger.info('Launch Arguments:', loggableArgs)
79
80
const child = child_process.spawn(ConfigManager.getJavaExecutable(this.server.rawServer.id), args, {
81
cwd: this.gameDir,
0 commit comments