X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fcpanel.pm;h=6c61e3d2ba86318e798fa57833ee68699621fbed;hb=38e34bbc53a4222c7507e95914e1364a5a74623f;hp=278c80ff795014b029323cb728eb4e516b5956d9;hpb=0210b124f3ad13d42698682ed18c61858eb40ce5;p=freeside.git diff --git a/FS/FS/part_export/cpanel.pm b/FS/FS/part_export/cpanel.pm index 278c80ff7..6c61e3d2b 100644 --- a/FS/FS/part_export/cpanel.pm +++ b/FS/FS/part_export/cpanel.pm @@ -116,7 +116,7 @@ sub cpanel_insert { #subroutine, not method #$req->authorization_basic($user, $accesshash); my $res = $ua->request( - POST( 'http://$user:$accesshash@$domain:2082/frontend/x/mail/addpop2.html', + POST( $url, [ 'email' => $username, 'domain' => $domain, @@ -190,3 +190,5 @@ sub cpanel_connect { $whm; } + +1;