mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
Add two factor (#632)
This commit is contained in:
@ -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')),
|
||||
|
Reference in New Issue
Block a user