mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01: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);
|
||||
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->sendEmailChanged($event->user);
|
||||
|
||||
|
@ -220,6 +220,7 @@ class UserAccountTransformer extends EntityTransformer
|
||||
'has_custom_design1' => (bool) $account->custom_design1,
|
||||
'has_custom_design2' => (bool) $account->custom_design2,
|
||||
'has_custom_design3' => (bool) $account->custom_design3,
|
||||
'enable_portal_password' => (bool) $account->enable_portal_password,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user