Fix bug caused by last commit

This commit is contained in:
Jaap Marcus committed 2023-01-02 23:35:31 +01:00
1 parent 677e426c6d
commit 2785e5b247
1 file changed
+5 -2
+5 -2
View File
@@ -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,