]> git.proxmox.com Git - pve-installer.git/commitdiff
tui-installer: remove `Debug` implementation for password options
authorChristoph Heiss <c.heiss@proxmox.com>
Mon, 15 Jul 2024 07:56:02 +0000 (09:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Jul 2024 16:40:34 +0000 (18:40 +0200)
So we never accidentally show/log the password somewhere. Need to drop
it from `InstallerOptions` in turn too, but it's never used currently
anyway.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Tested-by: Theodor Fumics <theodor.fumics@gmx.net>
proxmox-tui-installer/src/options.rs

index 6335762b501f97c2e8863962289642335b318a40..19992ca28a05c825c0cd572b61eb66b74ac9f7d9 100644 (file)
@@ -24,7 +24,7 @@ pub const FS_TYPES: &[FsType] = {
     ]
 };
 
-#[derive(Clone, Debug)]
+#[derive(Clone)]
 pub struct PasswordOptions {
     pub email: String,
     pub root_password: String,
@@ -39,7 +39,7 @@ impl Default for PasswordOptions {
     }
 }
 
-#[derive(Clone, Debug)]
+#[derive(Clone)]
 pub struct InstallerOptions {
     pub bootdisk: BootdiskOptions,
     pub timezone: TimezoneOptions,