Méthode |
Description |
|
__construct ( AccountRepository $accountRepo, ContactMailer $contactMailer, UserMailer $userMailer, UserService $userService ) |
|
|
bulk ( ) |
|
|
changePassword ( ) |
*
public function logout()
{
if (Auth::check()) {
if (!Auth::user()->registered) {
$account = Auth::user()->account;
$this->accountRepo->unlinkAccount($account);
if ($account->company->accounts->count() == 1) {
$account->company->forceDelete();
}
$account->forceDelete();
}
} |
|
confirm ( string $code ) |
Attempt to confirm account with code |
|
create ( ) |
Displays the form for account creation |
|
edit ( $publicId ) |
|
|
forcePDFJS ( ) |
|
|
getDatatable ( ) |
|
|
index ( ) |
|
|
manageCompanies ( ) |
|
|
save ( $userPublicId = false ) |
Stores new account |
|
saveSidebarState ( ) |
|
|
sendConfirmation ( $userPublicId ) |
|
|
setTheme ( ) |
|
|
store ( ) |
|
|
switchAccount ( $newUserId ) |
|
|
unlinkAccount ( $userAccountId, $userId ) |
|
|
update ( $publicId ) |
|
|