diff --git a/app/Http/Resources/Auth/User.php b/app/Http/Resources/Auth/User.php index 49b3b6f51..17ffaf7d8 100644 --- a/app/Http/Resources/Auth/User.php +++ b/app/Http/Resources/Auth/User.php @@ -21,8 +21,11 @@ class User extends JsonResource 'name' => $this->name, 'email' => $this->email, 'locale' => $this->locale, + 'landing_page' => $this->landing_page, + 'enabled' => $this->enabled, 'created_from' => $this->created_from, 'created_by' => $this->created_by, + 'last_logged_in_at' => $this->last_logged_in_at ? $this->last_logged_in_at->toIso8601String() : '', 'created_at' => $this->created_at ? $this->created_at->toIso8601String() : '', 'updated_at' => $this->updated_at ? $this->updated_at->toIso8601String() : '', 'companies' => [static::$wrap => Company::collection($this->companies)],