diff --git a/common/models/user.js b/common/models/user.js index 95596ecd74..622d5f73f4 100644 --- a/common/models/user.js +++ b/common/models/user.js @@ -92,7 +92,8 @@ module.exports = function(User) { req.flash('error', { msg: - `email ${req.body.email} is already in user, try signing in instead` + `The ${req.body.email} email address is already associated with an account. + Try signing in with it here instead.` }); return res.redirect('/email-signin'); diff --git a/server/views/account/show.jade b/server/views/account/show.jade index 3f7b11a100..f107eb7e73 100644 --- a/server/views/account/show.jade +++ b/server/views/account/show.jade @@ -232,10 +232,10 @@ block content .modal-footer a.btn.btn-success.btn-block(href='#', data-dismiss='modal', aria-hidden='true') span.ion-happy - | Nevermind, I don't want to delete all my progress - .btn-spacer + | Nevermind, I don't want to delete all of my progress + .spacer form(action='/account/delete', method='POST') input(type='hidden', name='_csrf', value=_csrf) button.btn.btn-danger.btn-block(type='submit') span.ion-trash-b - | I am 100% sure I want to delete all my progress + | I am 100% sure I want to delete my account and all of my progress