Skip to content

Commit

Permalink
ref: use new isSpcpAuthenticated
Browse files Browse the repository at this point in the history
  • Loading branch information
mantariksh committed Nov 19, 2020
1 parent c6e0fa1 commit 09d70b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/routes/public-forms.server.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ module.exports = function (app) {
forms.formById,
publicForms.isFormPublic,
CaptchaFactory.captchaCheck,
spcpFactory.isSpcpAuthenticated,
SpcpController.isSpcpAuthenticated,
emailSubmissions.receiveEmailSubmissionUsingBusBoy,
celebrate({
body: Joi.object({
Expand Down Expand Up @@ -267,7 +267,7 @@ module.exports = function (app) {
publicForms.isFormPublic,
CaptchaFactory.captchaCheck,
encryptSubmissions.validateEncryptSubmission,
spcpFactory.isSpcpAuthenticated,
SpcpController.isSpcpAuthenticated,
myInfoController.verifyMyInfoVals,
submissions.injectAutoReplyInfo,
webhookVerifiedContentFactory.encryptedVerifiedFields,
Expand Down

0 comments on commit 09d70b8

Please sign in to comment.