This commit is contained in:
parent
5ed13b609c
commit
3845f01269
|
@ -545,7 +545,7 @@ struct TokenStorage {
|
|||
|
||||
impl TokenStorage {
|
||||
fn verify(&self, token: &Token) -> Result<bool, bcrypt::BcryptError> {
|
||||
bcrypt::verify(&token.token.as_bytes(), &self.token)
|
||||
bcrypt::verify(token.token.as_bytes(), &self.token)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue