mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed highlight of email field for "unknown user" in forgot password flow
This commit is contained in:
parent
0f46321565
commit
6acf2691d7
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ export default Controller.extend(ValidationEngine, {
|
||||||
|
|
||||||
this.set('flowErrors', message);
|
this.set('flowErrors', message);
|
||||||
|
|
||||||
if (message.match(/no user with that email/)) {
|
if (message.match(/no user|not found/)) {
|
||||||
this.get('signin.errors').add('identification', '');
|
this.get('signin.errors').add('identification', '');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue