forked from mirrors/relay
clippy
This commit is contained in:
parent
bfc743354f
commit
9ac7854081
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ impl AdminConfig {
|
|||
}
|
||||
|
||||
fn verify(&self, token: XApiToken) -> Result<bool, Error> {
|
||||
Ok(bcrypt::verify(&token.0, &self.hashed_api_token).map_err(Error::bcrypt_verify)?)
|
||||
bcrypt::verify(&token.0, &self.hashed_api_token).map_err(Error::bcrypt_verify)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue