mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update AdminUser resource
This commit is contained in:
parent
4f850e54ad
commit
71ad7d5d43
1 changed files with 2 additions and 0 deletions
|
@ -23,9 +23,11 @@ class AdminUser extends JsonResource
|
|||
'name' => $this->name,
|
||||
'username' => $this->username,
|
||||
'is_admin' => (bool) $this->is_admin,
|
||||
'email' => $this->email,
|
||||
'email_verified_at' => $this->email_verified_at,
|
||||
'two_factor_enabled' => (bool) $this->{'2fa_enabled'},
|
||||
'register_source' => $this->register_source,
|
||||
'app_register_ip' => $this->app_register_ip,
|
||||
'last_active_at' => $this->last_active_at,
|
||||
'created_at' => $this->created_at,
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue