From: Christopher Burger Date: Tue, 7 May 2019 23:46:05 +0000 (-0400) Subject: RT# 83147 - Added new error message when email does not match because of case sensitivity X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=7ed03cd3b992a5df6c786686a5271eea65611dbc;p=freeside.git RT# 83147 - Added new error message when email does not match because of case sensitivity --- 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.' }