diff --git a/src/modules/Servicehosting/Service.php b/src/modules/Servicehosting/Service.php index 520225fb0..a3e6f64da 100644 --- a/src/modules/Servicehosting/Service.php +++ b/src/modules/Servicehosting/Service.php @@ -122,14 +122,17 @@ class Service implements InjectionAwareInterface } $model->username = $username; - $model->pass = '********'; - $this->di['db']->store($model); + $model->pass = $pass; if (!isset($c['import']) || !$c['import']) { [$adapter, $account] = $this->_getAM($model); $adapter->createAccount($account); } + $model->pass = '*******'; + + $this->di['db']->store($model); + return [ 'username' => $username, 'password' => $pass,