fix error message on edit of FIDO2 entry

This commit is contained in:
bunnie 2022-06-25 23:02:01 +08:00
parent d5063d1ff0
commit 6aadbf3cae

View file

@ -548,7 +548,7 @@ impl ActionManager {
}
Err(e) => {
match e.kind() {
std::io::ErrorKind::NotFound => self.report_err(t!("vault.error.not_found", xous::LANG), None::<std::io::Error>),
std::io::ErrorKind::NotFound => self.report_err(t!("vault.error.fido2", xous::LANG), None::<std::io::Error>),
_ => self.report_err(t!("vault.error.internal_error", xous::LANG), Some(e)),
}
None