diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/rbw/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index b2f64a3..bd1b1c2 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -1435,7 +1435,7 @@ fn remove_db() -> anyhow::Result<()> { fn generate_totp(secret: &str) -> anyhow::Result<String> { Ok(format!( - "{}", + "{:06}", oath::totp_raw_now( &base32::decode( base32::Alphabet::RFC4648 { padding: false }, |