mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 13:49:56 +09:00
Fix bug caused by last commit
This commit is contained in:
1 file changed
+5
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user