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=feec2d98f3bf5b53cdbd9d88cb4638d37439964a;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 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.' }