diff options
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 6166a3782..5577f5778 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -252,7 +252,7 @@ sub login { else { push @cust_contact, $customer; } } - return { error => 'Email '.$p->{email}.' not found!'} + return { error => 'Username '.$p->{email}.' not found!'} unless @cust_contact; return { error => 'Incorrect contact password.' } |