Skip to content

Commit

Permalink
improve error message for unsupported 2fa types
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed May 21, 2024
1 parent fb1bb4f commit f0b7969
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bin/rbw-agent/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ pub async fn login(
break 'attempts;
}
}
return Err(anyhow::anyhow!("TODO"));
return Err(anyhow::anyhow!(
"unsupported two factor methods: {providers:?}"
));
}
Err(rbw::error::Error::IncorrectPassword { message }) => {
if i == 3 {
Expand Down

0 comments on commit f0b7969

Please sign in to comment.