bug fixing and deploy and build diagnostics
This commit is contained in:
@@ -82,7 +82,7 @@ pub fn setup(password: &str) -> Result<SetupResult> {
|
||||
6,
|
||||
1, // skew
|
||||
30,
|
||||
Secret::Raw(totp_secret.clone()).to_bytes().unwrap(),
|
||||
Secret::Raw(totp_secret.clone()).to_bytes().map_err(|_| anyhow::anyhow!("Invalid TOTP secret"))?,
|
||||
Some("Archipelago".to_string()),
|
||||
"node".to_string(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user