summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/cp.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_export/cp.pm')
-rw-r--r--FS/FS/part_export/cp.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/part_export/cp.pm b/FS/FS/part_export/cp.pm
index 96fa437..a295c57 100644
--- a/FS/FS/part_export/cp.pm
+++ b/FS/FS/part_export/cp.pm
@@ -43,9 +43,8 @@ sub _export_replace {
my( $self, $new, $old ) = (shift, shift, shift);
return "can't change domain with Critical Path"
if $old->domain ne $new->domain;
- return "can't change username with Critical Path" #CP no longer supports this
- if $old->username ne $new->username;
- return '' unless $old->_password ne $new->_password;
+ return '' unless $old->username ne $new->username
+ || $old->_password ne $new->_password;
$self->cp_queue( $new->svcnum, 'replace', $new->domain,
$old->username, $new->username, $old->_password, $new->_password );
}