0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Email error message cleanup

This commit is contained in:
John O'Nolan 2015-10-16 12:05:24 +02:00
parent 52f3d9b70e
commit 640283c119
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ export default Ember.Controller.extend(ValidationEngine, {
}
});
}).catch(function () {
self.set('flowErrors', 'Please enter an email address then click "Forgot?".');
self.set('flowErrors', 'We need your email address to reset your password!');
});
}
}

View file

@ -116,7 +116,7 @@ describeComponent(
expect($input.val()).to.equal(`${currentUrl}about`);
});
it('adds "mailto:" to e-mail addresses on blur', function () {
it('adds "mailto:" to email addresses on blur', function () {
this.on('updateUrl', () => { return null; });
this.render(hbs`
{{gh-navitem-url-input baseUrl=baseUrl url=url last=isLast change="updateUrl"}}