From 09d70b8a4e7dcd742004280a8ed586863f7213ab Mon Sep 17 00:00:00 2001 From: Antariksh Date: Tue, 17 Nov 2020 21:37:08 +0800 Subject: [PATCH] ref: use new isSpcpAuthenticated --- src/app/routes/public-forms.server.routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/public-forms.server.routes.js b/src/app/routes/public-forms.server.routes.js index 668920b020..91eacd0493 100644 --- a/src/app/routes/public-forms.server.routes.js +++ b/src/app/routes/public-forms.server.routes.js @@ -163,7 +163,7 @@ module.exports = function (app) { forms.formById, publicForms.isFormPublic, CaptchaFactory.captchaCheck, - spcpFactory.isSpcpAuthenticated, + SpcpController.isSpcpAuthenticated, emailSubmissions.receiveEmailSubmissionUsingBusBoy, celebrate({ body: Joi.object({ @@ -267,7 +267,7 @@ module.exports = function (app) { publicForms.isFormPublic, CaptchaFactory.captchaCheck, encryptSubmissions.validateEncryptSubmission, - spcpFactory.isSpcpAuthenticated, + SpcpController.isSpcpAuthenticated, myInfoController.verifyMyInfoVals, submissions.injectAutoReplyInfo, webhookVerifiedContentFactory.encryptedVerifiedFields,