RT# 83147 - Added new error message when email does not match because of case sensitivity
authorChristopher Burger <burgerc@freeside.biz>
Tue, 7 May 2019 23:46:05 +0000 (19:46 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Tue, 7 May 2019 23:52:39 +0000 (19:52 -0400)
Conflicts:
FS/FS/ClientAPI/MyAccount.pm

FS/FS/ClientAPI/MyAccount.pm

index 470d12b..16c1ccc 100644 (file)
@@ -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.' }