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=faf6ca7361f6500441f23d06f7cb3a3c11e92aa0;p=freeside.git RT# 83147 - Added new error message when email does not match because of case sensitivity Conflicts: FS/FS/ClientAPI/MyAccount.pm --- diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 470d12b11..16c1ccc36 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -244,7 +244,7 @@ sub login { $contact = FS::contact->by_selfservice_email_custnum($p->{email}, $contact->custnum); } - return { error => 'Email '.$p->{email}.' not found!'} + return { error => 'Username '.$p->{email}.' not found!'} unless $contact; return { error => 'Incorrect contact password.' }