fix: make success message relevant
This commit is contained in:
@ -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.
|
||||
`
|
||||
);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user