mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Bug fixes
This commit is contained in:
parent
6fddd3a815
commit
2d4769137f
@ -44,7 +44,7 @@ class HandleUserSettingsChanged
|
|||||||
$users = $this->accountRepo->loadAccounts(Auth::user()->id);
|
$users = $this->accountRepo->loadAccounts(Auth::user()->id);
|
||||||
Session::put(SESSION_USER_ACCOUNTS, $users);
|
Session::put(SESSION_USER_ACCOUNTS, $users);
|
||||||
|
|
||||||
if ($event->user && $event->user->confirmed && $event->user->isEmailBeingChanged()) {
|
if ($event->user && $event->user->isEmailBeingChanged()) {
|
||||||
$this->userMailer->sendConfirmation($event->user);
|
$this->userMailer->sendConfirmation($event->user);
|
||||||
$this->userMailer->sendEmailChanged($event->user);
|
$this->userMailer->sendEmailChanged($event->user);
|
||||||
|
|
||||||
|
@ -220,6 +220,7 @@ class UserAccountTransformer extends EntityTransformer
|
|||||||
'has_custom_design1' => (bool) $account->custom_design1,
|
'has_custom_design1' => (bool) $account->custom_design1,
|
||||||
'has_custom_design2' => (bool) $account->custom_design2,
|
'has_custom_design2' => (bool) $account->custom_design2,
|
||||||
'has_custom_design3' => (bool) $account->custom_design3,
|
'has_custom_design3' => (bool) $account->custom_design3,
|
||||||
|
'enable_portal_password' => (bool) $account->enable_portal_password,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user