diff options
Diffstat (limited to 'src/api/auth/mod.rs')
| -rw-r--r-- | src/api/auth/mod.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/auth/mod.rs b/src/api/auth/mod.rs index 2c6d34d..d50dcc2 100644 --- a/src/api/auth/mod.rs +++ b/src/api/auth/mod.rs @@ -146,7 +146,7 @@ impl crate::auth::AuthSource for WithFxaLogin {      ) -> anyhow::Result<(SecretBytes<32>, Self::Context)> {          let db = Authenticated::<(), Self>::get_conn(r).await?;          let k = db.use_session(id).await?; -        Ok((k.req_hmac_key.0.clone(), k)) +        Ok((SecretBytes(k.req_hmac_key.0), k))      }      async fn bearer_token(          _: &Request<'_>,  | 
