fix: make success message relevant

This commit is contained in:
Mrugesh Mohapatra
2018-05-29 02:23:19 +05:30
parent 5f8eb3615a
commit c0156b41e2
3 changed files with 58 additions and 63 deletions

View File

@ -576,14 +576,9 @@ module.exports = function(User) {
this.update$({ emailAuthLinkTTL })
);
})
.map(() => isSignUp ?
.map(() =>
dedent`
We created a new account for you!
Check your email and click the sign in link we sent you.
` :
dedent`
We found your existing account.
Check your email and click the sign in link we sent you.
Check your email and click the link we sent you to confirm you email.
`
);
}

View File

@ -1,12 +1,12 @@
extends ../layout
block content
.container
.row.flashMessage.negative-30
.col-sm-6.col-sm-offset-3
.col-xs-12.col-sm-8.col-sm-offset-2.col-md-6.col-md-offset-3
#flash-board.alert.fade.in(style='display: none;')
button.close(type='button', data-dismiss='alert')
span.ion-close-circled#flash-close
#flash-content
.row
.col-xs-12
#accept-privacy-terms
.row

View File

@ -1,12 +1,12 @@
extends ../layout
block content
.container
.row.flashMessage.negative-30
.col-xs-12
.col-xs-12.col-sm-8.col-sm-offset-2.col-md-6.col-md-offset-3
#flash-board.alert.fade.in(style='display: none;')
button.close(type='button', data-dismiss='alert')
span.ion-close-circled#flash-close
#flash-content
.container
h2.text-center Update your email address here:
form.form-horizontal.update-email(method='POST', action='/update-my-email', name="updateEmailForm")
.row