Skip to content

Commit

Permalink
squash me
Browse files Browse the repository at this point in the history
  • Loading branch information
LazarAlexandru-Constantin committed May 20, 2024
1 parent 1528e55 commit a039362
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/enter-email/enter-email-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ import {
timestampNMinutesFromNow,
timestampNSecondsFromNow,
} from "../../utils/lock-helper";
import { CheckEmailFraudBlockInterface } from "../check-email-fraud-block/types";
import { checkEmailFraudBlockService } from "../check-email-fraud-block/checkEmailFraudBlockService";
import { logger } from "../../utils/logger";

export const RE_ENTER_EMAIL_TEMPLATE =
"enter-email/index-re-enter-email-account.njk";
Expand Down Expand Up @@ -60,7 +63,8 @@ export function enterEmailCreateGet(req: Request, res: Response): void {

export function enterEmailPost(
service: EnterEmailServiceInterface = enterEmailService(),
checkReauthService: CheckReauthServiceInterface = checkReauthUsersService()
checkReauthService: CheckReauthServiceInterface = checkReauthUsersService(),
checkEmailFraudService: CheckEmailFraudBlockInterface = checkEmailFraudBlockService(),
): ExpressRouteFunc {
return async function (req: Request, res: Response) {
const email = req.body.email;
Expand Down

0 comments on commit a039362

Please sign in to comment.