diff options
-rw-r--r-- | FS/FS/part_export/cp.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/part_export/cp.pm b/FS/FS/part_export/cp.pm index a295c574b..96fa43710 100644 --- a/FS/FS/part_export/cp.pm +++ b/FS/FS/part_export/cp.pm @@ -43,8 +43,9 @@ 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 '' unless $old->username ne $new->username - || $old->_password ne $new->_password; + 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; $self->cp_queue( $new->svcnum, 'replace', $new->domain, $old->username, $new->username, $old->_password, $new->_password ); } |