[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.133.2.15, 1.133.2.16

Ivan,,, ivan at wavetail.420.am
Thu Sep 29 22:27:42 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv25742

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	MyAccount.pm 
Log Message:
check old password if supplied, RT#13656

Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.133.2.15
retrieving revision 1.133.2.16
diff -u -w -d -r1.133.2.15 -r1.133.2.16
--- MyAccount.pm	30 Sep 2011 05:15:32 -0000	1.133.2.15
+++ MyAccount.pm	30 Sep 2011 05:27:39 -0000	1.133.2.16
@@ -2149,7 +2149,7 @@
     or return { 'error' => "Service not found" };
 
   if ( exists($p->{'old_password'}) ) {
-    return "Incorrect password."
+    return { 'error' => "Incorrect password." };
       unless $svc_acct->check_password($p->{'old_password'});
   }
 



More information about the freeside-commits mailing list