Fixed only clippy warning
ci/woodpecker/push/rustfmt Pipeline failed Details
ci/woodpecker/push/test Pipeline was successful Details

dev
Jef Roosens 2022-01-03 13:23:38 +01:00
parent ca9d44e7db
commit 5b75b49da0
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ impl<'r> FromRequest<'r> for Jwt {
RbError::Custom("Couldn't get config guard.")
)));
let key: Hmac<Sha256> = match Hmac::new_from_slice(&config.key.as_bytes()) {
let key: Hmac<Sha256> = match Hmac::new_from_slice(config.key.as_bytes()) {
Ok(key) => key,
Err(_) => {
return Outcome::Failure((