Skip to content

Commit f0b7969

Browse files
committed
improve error message for unsupported 2fa types
1 parent fb1bb4f commit f0b7969

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bin/rbw-agent/actions.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ pub async fn login(
184184
break 'attempts;
185185
}
186186
}
187-
return Err(anyhow::anyhow!("TODO"));
187+
return Err(anyhow::anyhow!(
188+
"unsupported two factor methods: {providers:?}"
189+
));
188190
}
189191
Err(rbw::error::Error::IncorrectPassword { message }) => {
190192
if i == 3 {

0 commit comments

Comments
 (0)