sequential extractor

This commit is contained in:
ad hoc 2022-03-04 20:12:44 +01:00
parent af8a5f2c21
commit b57c59baa4
No known key found for this signature in database
GPG key ID: 4F00A782990CC643
14 changed files with 198 additions and 38 deletions

View file

@ -41,10 +41,7 @@ impl<P, D> GuardedData<P, D> {
}),
None => Err(AuthenticationError::IrretrievableState.into()),
},
(token, None) => {
let token = token.to_string();
Err(AuthenticationError::InvalidToken(token).into())
}
(token, None) => Err(AuthenticationError::InvalidToken(token).into()),
}
}