Basic signup for events

This commit is contained in:
2026-03-21 21:02:15 +01:00
parent 23af267896
commit b8341890d3
74 changed files with 4046 additions and 947 deletions

View File

@@ -17,8 +17,9 @@ class UserResource extends JsonResource {
$this->user->toArray(),
[
'nicename' => $this->user->getNicename(),
'fullname' => $this->user->getFullName()
]);
'fullname' => $this->user->getFullName(),
'localGroup' => $this->user->localGroup()->id,
]);
unset($data['password']);
unset($data['remember_token']);
@@ -39,6 +40,7 @@ class UserResource extends JsonResource {
'firstname' => $this->user->firstname,
'lastname' => $this->user->lastname,
'localGroup' => $this->user->localGroup()->name,
'localGroupId' => $this->user->localGroup()->id,
];
}
}