diff options
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/rbw/commands.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index ac27755..addebb3 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -78,8 +78,9 @@ impl DecryptedCipher { fn display_long(&self, desc: &str) { match &self.data { - DecryptedData::Login { .. } => { - let displayed = self.display_short(desc); + DecryptedData::Login { username, .. } => { + let mut displayed = self.display_short(desc); + displayed |= self.display_field("Username", username.as_deref()); if let Some(notes) = &self.notes { if displayed { |