Changed refernece
Rust Build / Test Suite (pull_request) Successful in 46s
Rust Build / Rustfmt (pull_request) Successful in 49s
Rust Build / Clippy (pull_request) Successful in 2m1s
Rust Build / Check (pull_request) Successful in 2m54s
Rust Build / build (pull_request) Successful in 2m10s

This commit is contained in:
2026-06-13 17:11:34 -04:00
parent c57d5f5d90
commit 80a79f2b96
+1 -1
View File
@@ -41,7 +41,7 @@ pub async fn auth<B>(
.value; .value;
let mut validation = Validation::new(jsonwebtoken::Algorithm::HS256); let mut validation = Validation::new(jsonwebtoken::Algorithm::HS256);
validation.set_audience(&["icarus"]); // Must match exactly what's in the token validation.set_audience(&["textsender"]); // Must match exactly what's in the token
let _claims = decode::<textsender_models::token::Claims>( let _claims = decode::<textsender_models::token::Claims>(
&token, &token,
&DecodingKey::from_secret(secret_key.as_ref()), &DecodingKey::from_secret(secret_key.as_ref()),