according to landel CP no longer supports changing username
authorivan <ivan>
Wed, 30 Mar 2005 01:37:26 +0000 (01:37 +0000)
committerivan <ivan>
Wed, 30 Mar 2005 01:37:26 +0000 (01:37 +0000)
FS/FS/part_export/cp.pm

index a295c57..96fa437 100644 (file)
@@ -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 );
 }