Skip to content

Commit feef124

Browse files
Remove checks from sign up journey (#349)
We've decided not to implement this.
1 parent 9f3de9e commit feef124

File tree

2 files changed

+1
-32
lines changed

2 files changed

+1
-32
lines changed

app/routes/apply.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,8 @@ module.exports = router => {
4141

4242
// Routing after the final check answers page
4343
router.post('/apply/answer-check', (req, res) => {
44-
const data = req.session.data
45-
const vaccineTypes = (data.vaccineTypes || [])
46-
let nextPage
47-
48-
if (vaccineTypes.includes('COVID-19') && data.organisationCode === 'FA02S') {
49-
nextPage = '/apply/no-contract'
50-
} else {
51-
nextPage = '/apply/check-your-email'
52-
}
5344

54-
res.redirect(nextPage)
45+
res.redirect('/apply/check-your-email')
5546
})
5647

5748
// Welcome email mockup

app/views/apply/no-contract.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)