diff --git a/src/auth/mod.rs b/src/auth/mod.rs index 4aca733ca..1384c5f60 100644 --- a/src/auth/mod.rs +++ b/src/auth/mod.rs @@ -78,7 +78,7 @@ where E: sqlx::Executor<'a, Database = sqlx::Postgres>, { let token = headers - .get("Authentication") + .get("Authorization") .ok_or(AuthenticationError::InvalidCredentialsError)? .to_str() .map_err(|_| AuthenticationError::InvalidCredentialsError)?;