Skip to content

Commit

Permalink
Set Boulder-Requester header for existing accounts (#5291)
Browse files Browse the repository at this point in the history
In wfe2, set the `Boulder-Requester:` header from the NewAccount API
endpoint when returning a pre-existing account.

This header is already set when this endpoint creates a new account,
but was omitted when returning an existing account.
  • Loading branch information
aarongable committed Mar 18, 2021
1 parent bae699f commit 26c65e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wfe2/wfe.go
Expand Up @@ -574,6 +574,7 @@ func (wfe *WebFrontEndImpl) NewAccount(
response.Header().Set("Location",
web.RelativeEndpoint(request, fmt.Sprintf("%s%d", acctPath, acct.ID)))
logEvent.Requester = acct.ID
addRequesterHeader(response, acct.ID)

prepAccountForDisplay(&acct)

Expand Down

0 comments on commit 26c65e7

Please sign in to comment.