Code improvements

This commit is contained in:
th.guenther committed 2026-09-04 09:27:48 +02:00
1 parent d23e6c3914
commit 4bb64b0053
51 files changed
+30702 -87

No files matched your search

@@ -35,8 +35,9 @@ class SignupController extends CommonController {
'lastname' => '',
];
if (auth()->check()) {
$user = new UserResource(auth()->user())->toArray($request);
$currentUser = currentUser();
if ($currentUser !== null) {
$user = new UserResource($currentUser)->toArray($request);
$participantData = [
'id' => $user['id'],