Add two factor (#632)

This commit is contained in:
Saeed Vaziry
2025-06-27 01:07:33 +02:00
committed by GitHub
parent 73c836bfe7
commit 194143d7ef
12 changed files with 388 additions and 49 deletions

View File

@ -19,6 +19,7 @@ public function toArray(Request $request): array
'name' => $this->name,
'email' => $this->email,
'role' => $this->role,
'two_factor_enabled' => (bool) $this->two_factor_secret,
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,
'projects' => ProjectResource::collection($this->whenLoaded('projects')),