Skip to content

Commit

Permalink
Closes BG-1041: A user should not be able to continue someone else's …
Browse files Browse the repository at this point in the history
…registration (#2632)

* Add email as part of checking for reg. reference

* Revert "Add email as part of checking for reg. reference"

This reverts commit 7c5991d.

* Add authorization header when getting reg. by reference
  • Loading branch information
Nenad Misic authored and ap-justin committed Jan 9, 2024
1 parent c441df9 commit b1cac06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/aws/registration/registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const registration_api = aws.injectEndpoints({
return {
url: "v1/registration",
params: { uuid },
headers: { authorization: TEMP_JWT },
};
},
transformResponse(res: SavedRegistration) {
Expand Down

0 comments on commit b1cac06

Please sign in to comment.