projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c89c43
)
Fix backport #33252
author
Jeremy Davis
<jeremyd@freeside.biz>
Tue, 17 Feb 2015 15:02:59 +0000
(10:02 -0500)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Tue, 17 Feb 2015 15:02:59 +0000
(10:02 -0500)
FS/FS/API.pm
patch
|
blob
|
history
diff --git
a/FS/FS/API.pm
b/FS/FS/API.pm
index
9b5783a
..
cc5f609
100644
(file)
--- a/
FS/FS/API.pm
+++ b/
FS/FS/API.pm
@@
-593,6
+593,8
@@
sub update_customer {
my( $class, %opt ) = @_;
my $conf = new FS::Conf;
+ return { 'error' => 'Incorrect shared secret' }
+ unless $opt{secret} eq $conf->config('api_shared_secret');
my $custnum = $opt{'custnum'}