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
2018-07-13 12:28:35 +02:00
parent 6378d96d1a
commit 75615bb5c8
2 changed files with 38 additions and 4 deletions

View File

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