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:46:05 +0000 (19:46 -0400)
FS/FS/ClientAPI/MyAccount.pm

index 6166a37..5577f57 100644 (file)
@@ -252,7 +252,7 @@ sub login {
       else { push @cust_contact, $customer; }
     }
 
       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.' }
       unless @cust_contact;
 
     return { error => 'Incorrect contact password.' }