Sfoglia il codice sorgente

change username during reinstall

andre 4 anni fa
parent
commit
ddc34b95c2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/UI/Reinstall/Providers/TemplateInstallProvider.php

+ 1 - 1
app/UI/Reinstall/Providers/TemplateInstallProvider.php

@@ -118,7 +118,7 @@ class TemplateInstallProvider extends BaseDataProvider implements ClientArea, Ad
         }
         elseif($this->configuration()->isQemu() && $this->configuration()->getCiuser()){
             $ciuser =  $this->formData['username'] ? $this->formData['username'] : $vm->config()['ciuser'];
-            $this->hosting()->update(['username' => $ciuser ?: 'root' ]]);
+            $this->hosting()->update(['username' => $ciuser ?: 'root' ]);
         }
         $arguments = [
             'hostingId'  => $this->getWhmcsParamByKey('serviceid'),