diff --git a/src/components/check-reauth-users/check-reauth-users-service.ts b/src/components/check-reauth-users/check-reauth-users-service.ts index 03206c8aef..bcd12fca4e 100644 --- a/src/components/check-reauth-users/check-reauth-users-service.ts +++ b/src/components/check-reauth-users/check-reauth-users-service.ts @@ -16,7 +16,6 @@ export function checkReauthUsersService( sessionId: string, emailAddress: string, sub: string, - sourceIp: string, clientSessionId: string, persistentSessionId: string, req: Request @@ -25,7 +24,6 @@ export function checkReauthUsersService( const config = getInternalRequestConfigWithSecurityHeaders( { sessionId, - sourceIp, validationStatuses: [ HTTP_STATUS_CODES.OK, HTTP_STATUS_CODES.BAD_REQUEST, diff --git a/src/components/check-reauth-users/tests/check-reauth-user-service.test.ts b/src/components/check-reauth-users/tests/check-reauth-user-service.test.ts index cbac331747..7256f70776 100644 --- a/src/components/check-reauth-users/tests/check-reauth-user-service.test.ts +++ b/src/components/check-reauth-users/tests/check-reauth-user-service.test.ts @@ -39,7 +39,7 @@ describe("re-authentication service", () => { statusText: "OK", }); postStub.resolves(axiosResponse); - const { sessionId, email, ip, clientSessionId, diPersistentSessionId } = + const { sessionId, email, clientSessionId, diPersistentSessionId } = commonVariables; const req = createMockRequest(PATH_NAMES.ENTER_EMAIL_SIGN_IN, { headers: requestHeadersWithIpAndAuditEncoded, @@ -49,7 +49,6 @@ describe("re-authentication service", () => { sessionId, email, SUBJECT, - ip, clientSessionId, diPersistentSessionId, req diff --git a/src/components/check-reauth-users/types.ts b/src/components/check-reauth-users/types.ts index ceb5c8838e..e84f1166fa 100644 --- a/src/components/check-reauth-users/types.ts +++ b/src/components/check-reauth-users/types.ts @@ -6,7 +6,6 @@ export interface CheckReauthServiceInterface { sessionId: string, email: string, sub: string, - sourceIp: string, clientSessionId: string, persistentSessionId: string, req: Request diff --git a/src/components/enter-email/enter-email-controller.ts b/src/components/enter-email/enter-email-controller.ts index 511fdf8196..66a274d6ca 100644 --- a/src/components/enter-email/enter-email-controller.ts +++ b/src/components/enter-email/enter-email-controller.ts @@ -77,7 +77,6 @@ export function enterEmailPost( sessionId, email, sub, - req.ip, clientSessionId, persistentSessionId, req