From 2785e5b247b035f7ca2735e1df9a78d3d984f3ee Mon Sep 17 00:00:00 2001 From: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com> Date: Mon, 2 Jan 2023 23:35:31 +0100 Subject: [PATCH] Fix bug caused by last commit --- src/modules/Servicehosting/Service.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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,