bump: jsonwebtoken
This commit is contained in:
3 files changed
+114
-344
No files matched your search
+1
-1
@@ -42,7 +42,7 @@ pub async fn auth<B>(
|
||||
validation.set_audience(&["soaricarus"]);
|
||||
let _claims = decode::<simodels::token::UserClaims>(
|
||||
&token,
|
||||
&DecodingKey::from_secret(secret_key.as_ref()),
|
||||
&DecodingKey::from_secret(secret_key.as_ref()).unwrap(),
|
||||
&validation,
|
||||
)
|
||||
.map_err(|err| {
|
||||
|
||||
Reference in new issue
Block a user