mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(linux-client): don't show the token in --help (#4654)
Closes #4653 --------- Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
This commit is contained in:
@@ -49,8 +49,8 @@ struct Cli {
|
||||
|
||||
// TODO: It isn't good for security to pass the token as a CLI arg.
|
||||
// If we pass it as an env var, we should remove it immediately so that
|
||||
// other processes don't see it. Reading it from a file is probably safest.
|
||||
#[arg(env = "FIREZONE_TOKEN")]
|
||||
// child processes don't inherit it. Reading it from a file is probably safest.
|
||||
#[arg(env = "FIREZONE_TOKEN", hide = true)]
|
||||
pub token: Option<String>,
|
||||
|
||||
/// Identifier used by the portal to identify and display the device.
|
||||
|
||||
Reference in New Issue
Block a user