account_id = $account_id; $user->first_name = ''; $user->last_name = ''; $user->phone = ''; $user->email = ''; $user->last_login = now(); $user->failed_logins = 0; $user->signature = ''; $user->theme_id = 0; $user->user_logged_in_notification = true; $user->referral_code = Str::lower(Str::random(32)); return $user; } }