Ignore U2F challenge if not provided. Also checked that error_code has to be 0 for a successfull registration

This commit is contained in:
Daniel García committed 2018-07-13 12:37:46 +02:00
1 parent 6378d96d1a
commit 75615bb5c8
2 files changed
+38 -4

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ struct PasswordData {
MasterPasswordHash: String
}
#[derive(Deserialize, Debug)]
#[derive(Deserialize, Debug, Clone)]
#[serde(untagged)]
enum NumberOrString {
Number(i32),