diff --git a/matrix-authentication-service/src/filters/csrf.rs b/matrix-authentication-service/src/filters/csrf.rs index 8dc39069a..2cf47069d 100644 --- a/matrix-authentication-service/src/filters/csrf.rs +++ b/matrix-authentication-service/src/filters/csrf.rs @@ -104,5 +104,5 @@ pub fn save_csrf_token( where F: Filter + Clone + Send + Sync + 'static, { - save_encrypted("csrf", &cookies_config) + save_encrypted("csrf", cookies_config) } diff --git a/matrix-authentication-service/src/main.rs b/matrix-authentication-service/src/main.rs index 90dbd28bb..8d9eb6564 100644 --- a/matrix-authentication-service/src/main.rs +++ b/matrix-authentication-service/src/main.rs @@ -16,6 +16,7 @@ #![deny(clippy::all)] #![warn(clippy::pedantic)] #![allow(clippy::module_name_repetitions)] +#![allow(clippy::unused_async)] use anyhow::Context; use clap::Clap;