Skip to content

Commit 0024daf

Browse files
committed
fix: update validate_proof:team test when asserting that the team
is allowed to be omitted when generating a dpop access token. It's now only allowed to be omitted when the user in question also isn't associated with a team.
1 parent 8e0e34b commit 0024daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jwt/src/access/generate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ pub mod tests {
10381038
..ciphersuite.key.clone().into()
10391039
};
10401040
let params = Params {
1041-
team: team.clone(),
1041+
team: None.into(),
10421042
..ciphersuite.clone().into()
10431043
};
10441044
let result = access_token_with_dpop(&dpop.build(), params);

0 commit comments

Comments
 (0)