fix: harden GetLogs Livewire component properties (#9229)

This commit is contained in:
Andras Bacsai authored and GitHub committed 2026-03-29 21:29:23 +02:00
commit f267a28cb2
27 files changed
+840 -115

No files matched your search

+2 -1
View File
@@ -37,12 +37,13 @@ class CreateNewUser implements CreatesNewUsers
if (User::count() == 0) {
// If this is the first user, make them the root user
// Team is already created in the database/seeders/ProductionSeeder.php
$user = User::create([
$user = (new User)->forceFill([
'id' => 0,
'name' => $input['name'],
'email' => $input['email'],
'password' => Hash::make($input['password']),
]);
$user->save();
$team = $user->teams()->first();
// Disable registration after first user is created