[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.148, 1.149
Ivan,,,
ivan at wavetail.420.am
Thu Sep 29 22:27:40 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv25734
Modified Files:
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.148
retrieving revision 1.149
diff -u -w -d -r1.148 -r1.149
--- MyAccount.pm 30 Sep 2011 05:15:29 -0000 1.148
+++ MyAccount.pm 30 Sep 2011 05:27:38 -0000 1.149
@@ -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