diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-05-07 19:46:05 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-05-08 08:09:10 -0400 |
| commit | 7ed03cd3b992a5df6c786686a5271eea65611dbc (patch) | |
| tree | 41c155bc75c368fc48aefdca527469f75dd0ca3f | |
| parent | 590301adce46a6f8237b5bdfb134d68285fb01de (diff) | |
RT# 83147 - Added new error message when email does not match because of case sensitivity
| -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 91248a532..14becf97a 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.' } |
